Closed seregazhuk closed 4 years ago
Like nodemon does it:
[nodemon] clean exit - waiting for changes before restart
[nodemon] restarting due to changes...
[nodemon] starting `php server.php`
Listening on http://127.0.0.1:8000
[nodemon] app crashed - waiting for file changes before starting...
There is no need to restart the app, we can just notify about the dead script in the console.
Add the ability to watch whether the underlying script is running or dead. If the watcher detects a dead script is should try to restart it.