Closed
Bug 1393525
Opened 7 years ago
Closed 7 years ago
Django runserver not reloading when changing files
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: peterbe, Unassigned)
References
Details
Steps to reproduce: 1. Start the webapp `docker-compose up webapp` 2. Edit any of the files (e.g. webapp-django/crashstats/crashstats/views.py) 3. Save file Expected result: That Django reloads Actual result: Nothing happens.
Comment 1•7 years ago
|
||
Weird. It works for me: webapp_1 | 0 static files copied to '/tmp/crashstats-static', 218 unmodified, 103 post-processed. webapp_1 | Running webapp. Connect with browser using http://localhost:8000/ . webapp_1 | Performing system checks... webapp_1 | webapp_1 | System check identified no issues (0 silenced). webapp_1 | August 24, 2017 - 17:34:01 webapp_1 | Django version 1.8.18, using settings 'crashstats.settings' webapp_1 | Starting development server at http://0.0.0.0:8000/ webapp_1 | Quit the server with CONTROL-C. webapp_1 | [24/Aug/2017 17:34:05] "GET / HTTP/1.1" 302 0 webapp_1 | [24/Aug/2017 17:34:09] "GET /home/product/Firefox HTTP/1.1" 200 13261 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/status/css/status.css HTTP/1.1" 200 896 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/css/lib/metricsgraphics.css HTTP/1.1" 200 5170 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/css/screen.css HTTP/1.1" 200 25920 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/css/metricsgraphics_custom.css HTTP/1.1" 200 936 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/jquery/plugins/jquery.cookies.2.2.0.js HTTP/1.1" 200 10952 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/lib/qs.js HTTP/1.1" 200 15118 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/lib/moment.min.js HTTP/1.1" 200 59300 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/jquery/jquery-2.0.3.min.js HTTP/1.1" 200 83612 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/socorro/oauth2.js HTTP/1.1" 200 6168 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/socorro/timeutils.js HTTP/1.1" 200 527 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/socorro/analytics.js HTTP/1.1" 200 415 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/lib/d3.min.js HTTP/1.1" 200 146814 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/socorro/nav.js HTTP/1.1" 200 1139 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/socorro/utils.js HTTP/1.1" 200 10929 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/crashstats/js/lib/metricsgraphics.min.js HTTP/1.1" 200 83101 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/home/js/home.js HTTP/1.1" 200 16559 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/img/2.0/header-bg.png HTTP/1.1" 200 226 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/img/2.0/title.png HTTP/1.1" 200 4417 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/img/2.0/product-bg.png HTTP/1.1" 200 180 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/img/2.0/search.png HTTP/1.1" 200 427 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/img/2.0/logo2.png HTTP/1.1" 200 10708 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/img/2.0/mozilla.png HTTP/1.1" 200 16030 webapp_1 | [24/Aug/2017 17:34:09] "GET /static/img/icons/ajax-loader.gif HTTP/1.1" 200 3992 webapp_1 | [24/Aug/2017 17:34:13] "GET /api/ProductBuildTypes/?product=Firefox HTTP/1.1" 200 90 webapp_1 | [24/Aug/2017 17:34:13] "GET /api/ADI/?product=Firefox&versions=57.0a1&versions=56.0b&versions=55.0.2&platforms=Windows&platforms=Mac%20OS%20X&platforms=Linux&start_date=2017-08-16&end_date=2017-08-23 HTTP/1.1" 200 3328 webapp_1 | [24/Aug/2017 17:34:13] "GET /favicon.ico HTTP/1.1" 200 1150 webapp_1 | [24/Aug/2017 17:34:13] "GET /api/SuperSearch/?product=Firefox&version=57.0a1&version=56.0b&version=55.0.2&date=%3E%3D2017-08-16&date=%3C2017-08-24&_histogram.date=version&_results_number=0 HTTP/1.1" 200 332 webapp_1 | Performing system checks... webapp_1 | webapp_1 | System check identified no issues (0 silenced). webapp_1 | August 24, 2017 - 17:34:19 webapp_1 | Django version 1.8.18, using settings 'crashstats.settings' webapp_1 | Starting development server at http://0.0.0.0:8000/ webapp_1 | Quit the server with CONTROL-C. I wonder if it's an docker-on-OSX specific problem?
Reporter | ||
Comment 2•7 years ago
|
||
I had DEBUG=True in my webapp-django/.env which was the wrong assumption. It's my.env that matters. Thus, I wasn't running in DEBUG mode.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•