emmett icon indicating copy to clipboard operation
emmett copied to clipboard

Suggestion: add browser reloading when running "emmett develop", similar to django-browser-reload

Open hanerlend opened this issue 1 year ago • 3 comments

Hi,

I am currently trying out Emmett, and i love how easy it is to get up and running with everything included.

Coming from Django + pytailwindcss + django-browser-reload, one thing I miss, though, is for the webpage to reload every time I hit save.

Would it be possible to add something similar to Emmett + Granian, as long as you run it in development mode?

https://github.com/adamchainz/django-browser-reload/

hanerlend avatar May 03 '24 07:05 hanerlend

@hanerlend sounds definitely possible to do so; I'm wondering if something that should come with Emmett itself or something that should be packed into a dedicated extension.

gi0baro avatar May 06 '24 08:05 gi0baro

From my perspective, having it within Emmett, and specifically the command "emmett dev" would make sense, as it would make the experience similar to the fluidity when working with Svelte etc.

Others may not share that perspective, of course 😊

hanerlend avatar May 08 '24 10:05 hanerlend

@hanerlend it can be an extension and still be loaded with the dev command.

gi0baro avatar May 08 '24 12:05 gi0baro