Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server reloading in dev - django-browser-reload #881

Merged
merged 3 commits into from
Aug 24, 2023
Merged

server reloading in dev - django-browser-reload #881

merged 3 commits into from
Aug 24, 2023

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Aug 23, 2023

Add django-browser-reload - all server side dependencies (python view code, html templates, CSS files) are automatically reloaded whenever a change is made without having to refresh your browser (hot reloading).

If server reloading is not desired, comment-out the middleware "django_browser_reload.middleware.BrowserReloadMiddleware"in dev.py. If it becomes consistently problematic, we can revisit this pull-request.

@shapiromatron shapiromatron marked this pull request as ready for review August 23, 2023 20:06
@shapiromatron
Copy link
Owner Author

@casey1173 - might be good to see how this one works on the PR you're currently working on...

Copy link
Collaborator

@caseyhans caseyhans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great! Love it so far.

@shapiromatron shapiromatron merged commit 8a4883b into main Aug 24, 2023
@shapiromatron shapiromatron deleted the reload branch August 24, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants