Debounce reload #4050
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
good first issue
If you are just getting started with Docusaurus, this issue should be a good place to begin.
🐛 Bug Report
In
core/src/commands/start.ts
the reloader is not debounced and triggers reload for simultaenous file changes.docusaurus/packages/docusaurus/src/commands/start.ts
Lines 102 to 113 in 3166fab
This is happening to me when I add a new package as
node_modules
is being (probably mistakenly) watched somewhere. Still, a simple debounce in chokidar should solve it.The text was updated successfully, but these errors were encountered: