mirror of
https://github.com/SrIzan10/nodemon.git
synced 2026-05-01 10:55:09 +00:00
fix couple typos
This commit is contained in:
@@ -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');
|
||||
});
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user