Skip to content

Commit 11d49ee

Browse files
committed
Reload dev uwsgi on JS and CSS changes
Reloading our dev uwsgi isn't necessary to serve the correct file JS and CSS file. But the cache busting employed in 8d3802a only happens when the server restarts. So by not reloading browsers would still cache the old version. This problem was found because a bug got in when I made some final modifications to 796c427. That bug was fixed in 5dfc380.
1 parent f58898e commit 11d49ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: uwsgi_dev.ini

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ module=pgcommitfest.wsgi:application
55
py-autoreload=1
66
touch-reload = pgcommitfest/local_settings.py
77
touch-reload = pgcommitfest/settings.py
8+
touch-reload = media/commitfest/css/commitfest.css
9+
touch-reload = media/commitfest/js/commitfest.js
810
touch-reload = uwsgi_dev.ini
911
http=127.0.0.1:8007
1012
static-map=/media=media

0 commit comments

Comments
 (0)