emmett-framework / emmett

The web framework for inventors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

hanerlend opened this issue · 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 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.

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 it can be an extension and still be loaded with the dev command.