-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
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
- run without node-dev:
npm run start-without-node-dev
[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
- run with node-dev:
npm start
[demo]: running worker method (type: function)
and the process exits (awaiting respawn, if respawn used)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels