nodemon -v: 1.18.7node -v: v11.3.0Hello. Is nodemon supposed to restart if I write rs after a script fails?
If that is the case, this isn't working on my system.
If that isn't, that would be a cool feature request.

Yes it should.
Please can you provide full details on how to replicate (with a fully parred down example case).
@remy thanks for replying.
The code I had is basically a express server, and that's it.
When it fails "rs" doesn't get detected.
This is the example code that will just reproduce the error:
const express = require('express');
var app = express();
app.listen('7003', '0.0.0.0', function() {
throw 'hey'
});
Save it to index.js and then nodemon index.js

Can you give it a try with the latest nodemon? 1.18.8
Not working

I'm able to replicate.
It's specific to [email protected] - as it's not a problem in node@10.
If you want to have a go at a PR, I'd be happy to merge (not sure this area of code has tests though…).
Fixed in [email protected]
Can confirm it's fixed on 1.18.9 :)

Thanks. 😸
Most helpful comment
Fixed in [email protected]