You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for this, I was using django-webpack-loader but this is much simpler!
Do you have a recommendation for how to achieve automatic browser reloading when the assets are updated? I know this can be achieved using browsersync or livereload, but I'm hoping to not have to run a third process (on top of django server and webpack watch) during development.
Thanks again!
The text was updated successfully, but these errors were encountered:
Hi @tobyl, so glad you're enjoying this. If you'd like, I'd love to have the project shared with others who would use it. I feel it's the best solution out there at the moment for this problem.
There's not a great option for hot reloading that I'm aware of. What I do in one project is have a javascript interval running on the front end and querying an endpoint that returns the hashed filename. I then check this against my application state to determine if the filename has changed, and then if it has I execute a refresh through the javascript.
This is... a heavy-handed approach, but it does technically work.
Thanks so much for this, I was using django-webpack-loader but this is much simpler!
Do you have a recommendation for how to achieve automatic browser reloading when the assets are updated? I know this can be achieved using browsersync or livereload, but I'm hoping to not have to run a third process (on top of django server and webpack watch) during development.
Thanks again!
The text was updated successfully, but these errors were encountered: