K
K
kuzubina2020-06-09 17:01:58
Node.js
kuzubina, 2020-06-09 17:01:58

Run all files from specified folder using pm2?

How can I use (and is it possible?) pm2 on a node to configure so that all files are automatically launched in a certain folder? if a new one is created - also to run immediately?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Makarov, 2020-06-09
@MDiMaI666

pm2 ecosystem js . There it is enough to read the files into the array and add watch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question