nodemon: Nodemon does not restart the server on files changes
Updated to v1.0.1 and then to v1.0.4 and I can’t get the server restarted on file changes.
C:\wamp\www\DoLyfe>nodemon -V --dump server.js
5 Jan 20:56:41 - [nodemon] v1.0.4
5 Jan 20:56:41 - [nodemon] to restart at any time, enter `rs`
5 Jan 20:56:41 - [nodemon] ignoring: .git/* node_modules/**/node_modules/*
5 Jan 20:56:41 - [nodemon] watching: *.*
5 Jan 20:56:41 - [nodemon] watching extensions: js
--------------
{ run: false,
system: { noWatch: false, watchWorks: false },
required: false,
dirs: [ 'C:\\wamp\\www\\DoLyfe' ],
timeout: 1000,
options:
{ verbose: true,
dump: true,
script: 'server.js',
args: [],
ignore:
[ '.git/',
'node_modules/**/node_modules/',
re: /\.git/|node_modules/.*.*/node_modules// ],
watch: [ '*.*', re: /.*\..*/ ],
restartable: 'rs',
execMap: { py: 'python', rb: 'ruby' },
stdin: true,
execOptions:
{ script: 'server.js',
exec: 'node',
nodeArgs: undefined,
ext: 'js',
execArgs: [] },
ext: 'js',
monitor: [ '*.*', '!.git/*', '!node_modules/**/node_modules/*' ] },
load: [Function],
reset: [Function: reset],
lastStarted: 0,
loaded: [] }
--------------
OS: win32 x64
node: v0.10.22
nodemon: v1.0.4
cwd: C:\wamp\www\DoLyfe
command: node C:\Users\Alex\AppData\Roaming\npm\node_modules\nodemon\bin\nodemon.js -V --dump server
.js
--------------
5 Jan 20:56:41 - [nodemon] exiting
I’m changing and saving server.js and other js files in subfolders and nothing happens (server is not restarted, tested with actual page output as well).
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 32 (14 by maintainers)
Using the -L (legacy option) worked for me in vagrant Without it, it doesn’t work