-
-
Save stephaneerard/3f9f7c927c851dc5f7a25c7048a01a14 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| $npm = @("config-lib", "config-api", "config-cli") | |
| try { | |
| $processes = foreach ($package in $npm) { | |
| Start-Process -FilePath powershell -ArgumentList 'npm run watch' -WorkingDirectory "$psscriptroot\..\src\$package" -nonewwindow | |
| } | |
| $processes | Wait-Process | |
| } | |
| finally { | |
| $processes | Stop-Process | |
| Write-Information "Done." | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment