Your Windows build number: 10.0.18917.1000
What you're doing and what's happening:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
I'm running nodemon@1.19.1
My working directory is located in /mnt/c/Users/Adam/Documents/...
My nodemon.json:
{
"watch": [
"**/*.ts"
],
"ext": "ts",
"ignore": [
"./test/*.ts",
"./node_modules/**/node_modules"
],
"exec": "node -r ts-node/register Index.ts",
"env": {
"NODE_ENV": "development"
}
}
I run: nodemon --delay 1500ms --signal SIGTERM and then modify a file that is being watched.
I'm modifying the file from outside WSL, but I have also tried from within WSL using nano.
What's wrong / what should be happening instead: After updating to WSL2 nodemon no longer triggers a restart of my application.
I'm able to run nano ./modified_file.ts and see the change.
In another project built with Stencil@1.0.4 I'm able to run stencil build --dev --watch --serve and file modifications trigger a reload.
Your Windows build number: 10.0.18917.1000
What you're doing and what's happening:
I'm running nodemon@1.19.1
My working directory is located in
/mnt/c/Users/Adam/Documents/...My
nodemon.json:{ "watch": [ "**/*.ts" ], "ext": "ts", "ignore": [ "./test/*.ts", "./node_modules/**/node_modules" ], "exec": "node -r ts-node/register Index.ts", "env": { "NODE_ENV": "development" } }I run:
nodemon --delay 1500ms --signal SIGTERMand then modify a file that is being watched.I'm modifying the file from outside WSL, but I have also tried from within WSL using
nano.What's wrong / what should be happening instead: After updating to WSL2
nodemonno longer triggers a restart of my application.I'm able to run
nano ./modified_file.tsand see the change.In another project built with Stencil@1.0.4 I'm able to run
stencil build --dev --watch --serveand file modifications trigger a reload.