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
Currently the 'runserver' command hangs in an infinite loop when webpack-stats has 'status = "compile"'. This is caused by an infinite while loop that is waiting for a different status than 'compile'.
The webpack loader has 0 as default for the timeout; ie. 'never timeout'. This results in Django Runserver never emitting any pages (eg. /admin/), without any warning.
I see two possible fixes:
Add a default timeout other than 0
If changing default is not preferred, perhaps add a warning to console mentioning the script is hanging at webpack loader
The text was updated successfully, but these errors were encountered:
Currently the 'runserver' command hangs in an infinite loop when webpack-stats has 'status = "compile"'. This is caused by an infinite while loop that is waiting for a different status than 'compile'.
https://github.com/django-webpack/django-webpack-loader/blob/master/webpack_loader/loader.py#L95-L103
The webpack loader has 0 as default for the timeout; ie. 'never timeout'. This results in Django Runserver never emitting any pages (eg. /admin/), without any warning.
I see two possible fixes:
The text was updated successfully, but these errors were encountered: