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
We could do with something like webpack's aggregateTimeout option: "Add a delay before rebuilding once the first file changed. This allows webpack to aggregate any other changes made during this time period into one rebuild. Pass a value in milliseconds". Could also consider debouncing.
Would you like to have a go at it? This is the relevant method:
Greetings,
I have a node application that uses rollup.js to produce esm modules for my dotnet program.
Rollup has a watch feature that executes the compilation of a node project when code changes.
In my case, rollup delete old files and ands new ones (using file chunk hashes - so their different each compilation).
The deleting of old files and writing of new files causes the FileWatcher in
OutOfProcessNodeJSService
to go crazy for bit.It rapidly tries to kill processes and spin up new ones.
Can we add a delay or throttle option to the FileWatcher?
The text was updated successfully, but these errors were encountered: