How to run multiple node process?


Can I run multiple node processes? For example, run a database updatedb.js in the background while an api.js to offer HTTP API ?

Any help is appreciated.



Welcome to the forum Jeff! You can try exporting your db and api files as modules, callling them in a central controller.js file, and then setting the start line as node controller.js.