node-dev
node-dev copied to clipboard
Zero-conf Node.js reloading
It would be great if once could pass a `--node-dev-config` or `NODE_DEV_CONFIG` path. My use case is a monorepo where I'd love to have a single `.node-dev.json` instead of duplicating...
Without it if multiple changes occured at once, it will try to start process multiple times.
`process.send` is no longer accessible from ESM loader in Node 20, therefore loader needs to use `context.port` and a proxy function to send messages to the parent. See https://nodejs.org/api/esm.html#globalpreload `--experimental-specifier-resolution`...
- Drop support for node v14 and v16, the new minimum version of node is v18 - Add support for node v20 - Removed tests for `experimental-specifier-resolution` as it's no...
This changes the debounce timeout to apply globally rather than per-file. This fixes an issue where if various different files were being changed, the process would restart even though the...
### Problem When running a build, the app restarts over and over even though we set a debounce value of 10 seconds ### Suspected cause Looking at the code, it...
Closes #242 This adds support for custom ESM loaders options passed via `--experimental-loader` to node-dev. I accomplish this by passing the resolved loader path as a query string argument to...
# Problem - `node myscript.js` emits events and logs, but `node-dev myscript.js` does not. # Reproduction I've produced a tiny reproduction with minimal but complete instructions here: https://github.com/cdaringe/node-dev-divergent-behavior-workers#demo 1. run...
This provides a better implementation for #285 by setting and reading the main script from process.env. This allows modules `require`d from threads to trigger reloads. I considered some alternative solutions...
This project currently uses the `resolve` package to resolve paths despite it being a plain Node.js application. Currently, this package doesn't really suffer from any major issues because of this...