DemocracyLab / CivicTechExchange

https://www.democracylab.org
MIT License
98 stars 65 forks source link

Enable Hot Reloading #477

Open glenbraun opened 3 years ago

glenbraun commented 3 years ago

Currently we need to run npm run build/dev in order to build front-end changes. If builds happened automatically when changes are made, it would streamline the development process, especially for development environments like Docker where running the build command is more laborious.

https://trello.com/c/G3LA9fka

PeterBreen commented 1 year ago

This is still valid. Webpack can watch for changes and trigger a rebuild but we'd have to make sure it only watches front-end files (Django already watches python files) -- and it needs to work in docker and virtualbox. The Webpack watch help files may assist: https://webpack.js.org/configuration/watch/

PeterBreen commented 11 months ago

For scope considerations, on this, just concentrate on Docker for now (if that's even relevant?) -- Also see #927 as another issue on the same problem, we just didn't catch it as a dupe.

AM-77 commented 11 months ago

Hello guys, I just open a PR for this, can anyone give it a look please.

also I want to apologies to @Yyao5 for taking the ticket without leaving a comment or self-assign it.

I can not self-assign issues, I think because I am not a member in this org yet, can anyone add me please.

thank you

Yyao5 commented 10 months ago

That’s all right. I was working on this with Abhishek. I’m not sure if you have writing access to the repo but if not, maybe Marlon can add you to it. I just assigned you to the issue.Thanks,YutongOn Aug 19, 2023, at 6:28 AM, Mohamed Amine @.***> wrote: Hello guys, I just open a PR for this, can anyone give it a look please. also I want to apologies to @Yyao5 for taking the ticket without leaving a comment or self-assign it. I can not self-assign issues, I think because I am not a member in this org yet, can anyone add me please. thank you

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Yyao5 commented 9 months ago

Current related PR can reflect changes with automatic webpack recompilation and after manually refreshing the browser. Further attention is required to enable reloading in the browser automatically.