-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Prevent multiple reloads #22
Comments
Will possibly help deduplicate. Doesn't help with #22.
Any updates for the debounce? I see that with LSP and tools that lint the code the page get multiple reloads. |
There’s a 50ms denounce:
can you try adjusting that in your project to see if it helps? Maybe we can make it configurable. |
As I can see avdon't works, I changed to 10 seconds instead the refresh is like fast. |
Ah right, if runserver restarts, the debounce does not apply. Can you describe your situation a bit more? Is your runserver restarting multiple times? |
Yes runserver restart multiple times because I have pylint/pydocstyle and so on that on every save change the file so runserver is execute multiple times. |
That would need implementing in Django itself. we could perhaps add a debounce on the JavaScript side for restart events only. Would you like to give that a try? |
On my DB Buddy project I'm seeing many reloads for a single file changes. It looks like watchman is signalling the same file changing repeatedly.
Maybe something needs changing in this project, or we need to add debounce logic.
The text was updated successfully, but these errors were encountered: