diff --git a/doc/events.md b/doc/events.md index 1f643e7..b6e9c0f 100644 --- a/doc/events.md +++ b/doc/events.md @@ -57,14 +57,14 @@ app.on('message', function (event) { if (event.type === 'start') { console.log('nodemon started'); } else if (event.type === 'crash') { - console.log('script crasahed for some reason'); + console.log('script crashed for some reason'); } }); // force a restart app.send('restart'); -// for a quit +// force a quit app.send('quit'); ``` @@ -75,4 +75,4 @@ Note that even though the child will still emit a `message` event whose type is app.on('exit', function () { console.log('nodemon quit'); }); -``` \ No newline at end of file +```