Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #execute #commands #scripts
ADD COMMENT
Topic
Name
7+3 =