node-dev
node-dev copied to clipboard
Zero-conf Node.js reloading
This ports all library code and tests to ESM. I left test fixtures as CJS and moved all CJS-hook related things into the `require/` subfolder. I tried to keep everything...
Hi, in my `package.json` I have two scripts, my `start` script is working, but `dev` using `node-dev` isn't ```json { "scripts": { "dev": "node-dev --experimental-specifier-resolution=node --loader ts-node/esm/transpile-only src/index.ts", "start": "node...
I am using node v16.16.0. When I try to yarn `yarn node-dev server.js`, I get the following error: ``` Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\sraghuvanshi\src\EXPLOR\app\.yarn\cache\node-dev-npm-7.4.3-207a6050f3-7b7e77284f.zip\node_modules\node-dev\lib\loaders\load.mjs' imported from C:\Users\sraghuvanshi\src\EXPLOR\app\ Did you...
I sometimes found a situation when child process failed to react on SIGTERM and kill itself in a timely manner (even if it handled SIGTERM), so it is useful to...
Hey! I have a little question about the `-r` option. I don't know if it's a bug or related to something else (`ts-node` ?). Here is my `launch.js`: ``` console.log(process.listenerCount('uncaughtException'));...
My `package.json` script uses the node-dev CLI to run code with the event listener: ```js process.on('SIGTERM', () => { console.log('SIGTERM fired...'); }); ``` When I use `CTRL+C` to halt the...
# Problem I could iterate faster if I could avoid a full process restart, but am limited to a full proc restart ATM. I want 1. notification of change, and...
As in the title, the first time I ran node-dev, a shortcut got entered into my windows startmenu for SnoreToast. ``` Installing shortcut: "C:\\Users\\userId\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\SnoreToast\\0.7.0\\SnoreToast.lnk" "C:\\code\\project\\node_modules\\node-notifier\\vendor\\snoreToast\\snoretoast-x64.exe" Snore.DesktopToasts.0.7.0 ``` Can you...
When running multiple instance with `node-dev`, they all get this path in Chrome's inspect tab, so it's hard to tell which is which: ``` /Users/dlj/projects/my_app/node_modules/node-dev/lib/wrap.js file:///Users/dlj/projects/my_app/node_modules/node-dev/lib/wrap.js ``` Ideally, they would...
Cannot set config as ``` extensions: { ... ts: 'ts-node/esm' }, ``` If I set it like this, it shows: 