Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify
run_process_with_fallback
logic (#3089)
* Simplify `run_process_with_fallback` logic Include log streaming for initial command and fallback command. This is necessary because if the command produces significant output that is not consumed, it can fill the OS pipe and block the process from running. * Avoid overwriting next.config.js when content has not changed Windows cannot seem to detect when the file changes but the content is the same and triggers a much longer hot-reload cycle to deal with the "updated next.config.js" * Handle case where `next.config.js` doesn't exist yet
- Loading branch information
Showing
2 changed files
with
35 additions
and
33 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