Skip to content
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

Wait until all file system is idle before triggering a new run in watch mode #2281

Closed
lukastaegert opened this issue Jun 18, 2018 · 1 comment

Comments

@lukastaegert
Copy link
Member

This is tracking something that popped up during #2259. When a file is modified, rollup will currently wait for 100ms and then start a new run no matter if there were other file modifications during these 100ms i.e. because a more complex save operation is underway.

Ideally, rollup should wait until there have not been any modifications of the relevant files for 100ms. It might make sense, though, to add a maximum for how long rollup will wait until the next run is triggered otherwise there might be situations where no run is triggered at all.

@lukastaegert
Copy link
Member Author

Fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant