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

[Feature]: request to add watchOptions.aggregaTimeOut #6356

Open
pushkargupta9807 opened this issue Apr 24, 2024 · 0 comments
Open

[Feature]: request to add watchOptions.aggregaTimeOut #6356

pushkargupta9807 opened this issue Apr 24, 2024 · 0 comments
Labels
feat New feature or request pr welcome

Comments

@pushkargupta9807
Copy link

pushkargupta9807 commented Apr 24, 2024

What problem does this feature solve?

This would be benefitting developer productivity in scenarios where they are modifying multiple files at once, and want to recompile and reload once for all of them .

Fir instance we have a scenario where modifying/saving a file generates an artefact in a particular directory which is also watched . So we want to trigger re-compile after a certain timeout , say like 300ms so as to ensure that artefact is generated.

https://webpack.js.org/configuration/watch/#watchoptionsaggregatetimeout

What does the proposed API of configuration look like?

Here is the webpack implementation for it :
https://webpack.js.org/configuration/watch/#watchoptionsaggregatetimeout

@pushkargupta9807 pushkargupta9807 added feat New feature or request pending triage The issue/PR is currently untouched. labels Apr 24, 2024
@LingyuCoder LingyuCoder added pr welcome and removed pending triage The issue/PR is currently untouched. labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request pr welcome
Projects
None yet
Development

No branches or pull requests

2 participants