Update README.md

Fix typo on line 1128 (child process -> child processes)
This commit is contained in:
Andrew Barbour
2021-02-12 15:14:07 -08:00
committed by GitHub
parent 3f7b24976b
commit db98c74c70

View File

@ -1125,7 +1125,7 @@ CMD [ "node", "dist/app.js" ]
## ![✔] 8.2. Bootstrap using `node` command, avoid `npm start`
**TL;DR:** use `CMD ['node','server.js']` to start your app, avoid using npm scripts which don't pass OS signals to the code. This prevents problems with child-process, signal handling, graceful shutdown and having zombie processes.
**TL;DR:** use `CMD ['node','server.js']` to start your app, avoid using npm scripts which don't pass OS signals to the code. This prevents problems with child-processes, signal handling, graceful shutdown and having zombie processes.
**Otherwise:** When no signals are passed, your code will never be notified about shutdowns. Without this, it will lose its chance to close properly possibly losing current requests and/or data.