This article was first published on: Lisk Blog - Medium --
You shouldn’t start applications through npm when you have child processes natively supported by Node.js. In this article, we will provide a list of best practices for Node.js applications with a code snippet that outlines the core problem and shows you how to reproduce the issue in 3 steps. In short, we stopped using npm start to run our blockchain’s core and instead opted for using the native node command.
Introduction to npm and its most well-known command ‘npm start’.
Our challenge: npm runs app.js files as a child process of npm.
However, what ...
This content is synced from the rightful owners. Copyright on text and images belong to the original source. -- This article was first published on: Lisk Blog - Medium