Comments (16)
Any updates on this issue? I've done a lot of searching trying to figure out how to get this working correctly on windows, but I haven't had any luck yet. Any tips would be appreciated.
from nodemon.
no, it's still not working in 0.6.9
works great for js files, but coffee files give the above error. maybe the author can elaborate on this issue.
if anyone knows a working solution for hot reloading on the windows platform ....
from nodemon.
and 0.6.11
from nodemon.
$ nodemon server.coffee
22 Feb 12:25:11 - [nodemon] v0.6.9
22 Feb 12:25:11 - [nodemon] watching: C:\Projects\Workspace\App
22 Feb 12:25:11 - [nodemon] starting coffee server.coffee
CreateProcessW: The system cannot find the file specified.
22 Feb 12:25:11 - [nodemon] app crashed - waiting for file changes before starting...
from nodemon.
Yep... really wish this was fixed. It makes working on Windows brutal. I guess some people would consider that a good thing though. :-)
from nodemon.
:) really frustrating. do you know any alternatives?
from nodemon.
an alternative is 'supervisor'. but it does not work with coffee either :(
it boils down to node's process.kill statement not really killing the coffee child process. it must be something with the coffee.cmd that i'm using (instead of node.exe):
supervisor --exec node_modules.bin\coffee.cmd index.coffee
from nodemon.
I'm sure I could write one specific to windows that would work, but it seems silly that nodemon can't be fixed. I guess there is some bug or limitation on the Windows platform?
from nodemon.
I'm doing some work on nodemon today, so I'll check this now.
from nodemon.
Just noticed this as well, thanks remy.
from nodemon.
thanks remy, javascript and windows seem to work now. it picks up the changes and kills/restarts the process.
but, coffee still doesn't work : it doesn't pick up the changes when i use this command line :
nodemon -x .\node_modules.bin\coffee.cmd .\server.coffee
without the -x param i get : "The system cannot find the file specified". but it picks up changes, but repeats the error.
from nodemon.
I'm having the same issue as vip32 - the file changes are noticed, but coffee fails after that:
11 Apr 15:30:42 - [nodemon] starting 'coffee app.coffee'
CreateProcessW: The system cannot find the file specified.
11 Apr 15:30:42 - [nodemon] app crashed - waiting for file changes before starti
ng...
If it helps, I am starting nodemon by running an external program from Visual Studio, so
program path: c:\Windows\System32\Cmd.exe
arguments: /k nodemon app.coffee & pause & exit
working directory: C:\projects\ApiProxyDemo\aproxi
from nodemon.
I get the same errors...
A version of http://github.com/kuchumovn/node-js-development-mode works for me for now until this bug is resolved:
//my dev.cmd
c:\PROGRA~1\nodejs\node.exe "dev.js" --main-file app.coffee --coffee-script "node_modules/coffee-script/bin/coffee" --watch "['app.coffee','config/.coffee','controllers/.coffee','lib/.coffee','models/.coffee']" --options "{}"
from nodemon.
same problem here, with windows 7 & latest build from npm.
nodemon app.coffee
18 May 14:45:03 - [nodemon] v0.6.18
18 May 14:45:03 - [nodemon] watching: C:....
18 May 14:45:03 - [nodemon] startingcoffee app.coffee
CreateProcessW: The system cannot find the file specified.
18 May 14:45:03 - [nodemon] app crashed - waiting for file changes before starti
ng...
from nodemon.
N.B. Another cause of 'CreateProcessW: The system cannot find the file specified." is when nodemon can't find your main executable (node/coffee) on your PATH, or the one it finds on your path doesn't match the expected type (e.g. .exe vs .bat vs .cmd). Try stating the program explicitly with '--exec'.
from nodemon.
@vip32 I know this is a really old issue, and in fact I missed that it was still an issue for you. Could you contribute a simple test that I can use to replicate the issue on windows (I've added a test directory to this repo). I'm thinking of adding something like testing to find the executable...
from nodemon.
Related Issues (20)
- nodemon called as a subprocess within a subprocess breaks stdin after SIGINT HOT 5
- Nodemon TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" HOT 4
- Nodemon the `punycode` module is deprecated in node js 21 HOT 2
- ts-node should not be default when `--import` flag is present HOT 6
- [Feature Request] Add a quit (repl) command HOT 7
- says server restarting but changes are not reflected on the terminal HOT 13
- - `nodemon -v`:
- Nodemon config file different than json HOT 4
- New Feature Request : adding a very simple way to handle node projects with ES Module HOT 2
- Nodemon Getting Stuck in the Restarting Phase HOT 24
- Force a full restart? HOT 7
- is there a way to delay before re-spawn / re-execution? otherwise CPU goes to 100% HOT 1
- Restart event calls start event as well when files change HOT 3
- Passing an array into ext config HOT 5
- nodemon is not restarting server automatically HOT 1
- Ability not to signal the whole subtree of a process HOT 13
- Restart not firing beyond deletion of directory under watch, when this directory structure is recreated (on Ubuntu 22.04) HOT 11
- Nodemon ignores `--ext` argument HOT 3
- not working with Node.js version 20.12.x HOT 12
- Unable to enable logs when using nodemon as a module HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodemon.