Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Directly restart Rollup when config file change is detected in watch …
…mode (#4344) * Improve test reliability * Increase timeout and repeat * Try again with a watcher * Try using fs.watchfile in the config * Wait a little after initial config write * Limit how long we wait at most * Immediately restart Rollup upon config file changes and change test to look for a message from the second config * See if we can trigger a stuck watcher by writing again * Extract retry helper * Clean up
- Loading branch information
1 parent
9e947fc
commit edca64e
Showing
10 changed files
with
175 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.