Answer the question
In order to leave comments, you need to log in
How to organize batch execution of several scripts?
There are several separate node.js scripts that need to be executed sequentially.
How to combine them into one package? Bash?
Is it possible to do this without leaving the node environment?
Answer the question
In order to leave comments, you need to log in
$ node ./app.js; node ./app2.js // выполнит по очереди
$ node ./app.js && node ./app2.js // выполнит по очереди, но вторая команда выполнится только первая не упадёт
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question