[demo]: running worker method (type: function)
[demo]: error - logged without node-dev, not logged with node-dev Error: bummer, i'm caught in index.ts
[demo]: event - logged without node-dev, not logged with node-dev. Error: bummer, i'm caught in index.ts
[demo]: running worker method (type: function)
Problem
node myscript.jsemits events and logs, butnode-dev myscript.jsdoes not.Reproduction
I've produced a tiny reproduction with minimal but complete instructions here: https://github.com/cdaringe/node-dev-divergent-behavior-workers#demo
npm run start-without-node-devnpm startand the process exits (awaiting respawn, if respawn used)