So imagine you have two full apps which have two separated pipelines. Successfully merging a pull request may close this issue. Angular-CLI and dotnet cli how to write command to watch both? "start": "./node_modules/.bin/http-server" Running your npm scripts in parallel Now that you have both of scripts created you need to find a way to run them both. : don't execute pre/post scripts automatically (, https://github.com/mysticatea/npm-run-all, Pre/Post Scripts are executed in workspace recursive scripts. How can I validate an email address in JavaScript? pnpm start -> Run a command in package.json to start the app. quotes with escaped quotes and npm builds to call other 'npm run' builds.. Should we burninate the [variations] tag? I think we can have a whitelist of commands that will work without run. We're posting techniques common to Node developers, many of whom build & deploy on Linux servers. oh guys You are making such a big problem out of nothing. Please keep in mind that I need to see the output of these commands. We need to run each command one for our spa vue serve or ng serve and other for json-server json-server /db.json. Thanks for keeping DEV Community safe. Do you have an example? Istill dontlikethis, sinceitmixes builtincommands withpackagescripts. I don't think this is a node / npm problem. So, now there is no clear understanding of what is the main command to doing. My solution is similar to Piittis', though I had some problems using Windows. Both client and server are written in typescript. Running npm run test will start Selenium driver, start http server (to serve you files) and run protractor tests. This will run the first command as a background thread. Good old Bash, can't beat the command line. You can enhance the scripts to output the pids of the forked process to a file like so: Google something like bash control operator for forking to learn more on how it works. The run command also has some flags, like --if-present. For reasons not yet clear to me, software engineers, in issues trackers that are not their own, feel comfortable waiving this value in favor selfishness. A bit pity but still worth to do so. How do I get Gulp tasks to fire sequentially when firing shell commands in an async.series helper function? In package.json, your scripts section will look like this: npm run cmd Providing the incredible convenience today of not having to type "run" every time is well worth the possibility that a user script might have the same name as some future pnpm command. So I suggest you to look at google/zx that allows to use js to create scripts. So the run command's own flags would have to be before the script's name. This solution is very simple and requires no additional packages/work from the developer. Does the Fog Cloud spell work in conjunction with the Blind Fighting fighting style the way I think it does? I love all that the PNPM team have done and I really hope to see this added. The whitelist should be configurable. Irecommendadding somesortofdetection forcases wherecmdmatches ascriptname inpackage.json andtosuggestusing pnpmrun