Run commands one after the other in package.json scripts

Code examples

0
0

how to execute more commands scripts package.json

* If you are using an UNIX-like environment, just use & as the separator:

"dev": "npm run start-watch & npm run wp-server"

* From windows cmd you can use start:

"dev": "start npm run start-watch && start npm run wp-server"
Every command launched this way starts in its own window.

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................