docs: update faq for -c option

Add quotations for -c option

Otherwise the terminal cannot tell whether `--exitcrash` is an option for `nodemon` or `forever`, causing it to fail to start
This commit is contained in:
t__hos
2017-12-04 09:53:58 -05:00
committed by Remy Sharp
parent f3e0c29f15
commit 0b1bf131a5

2
faq.md
View File

@@ -125,7 +125,7 @@ To achieve this you need to add the following on the call to `forever`:
* Optionally add the `--uid` parameter, adding a unique name for your process. In the example, the uid is set to `foo`.
```bash
forever start --uid foo --killSignal=SIGTERM -c nodemon --exitcrash server.js
forever start --uid foo --killSignal=SIGTERM -c 'nodemon --exitcrash' server.js
```
To test this, you can kill the server.js process and forever will restart it. If you `touch server.js` nodemon will restart it.