remy/nodemon — Issue #47: can't launch nodemon
Author: j0hn
Created: 2011-12-17 19:34:53+00:00
State: open

I can't run nodemon on the simplest node.js app, i get this error:

```
$ nodemon main.js
17 Dec 16:29:11 - [nodemon] v0.5.7
17 Dec 16:29:11 - [nodemon] watching: /media/Datos/j0hn/Code/js/node/simple
17 Dec 16:29:11 - [nodemon] running main.js
17 Dec 16:29:11 - [nodemon] starting node

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: UNKNOWN, unknown error './.monitor'
at Object.chmodSync (fs.js:509:18)
at Object. (/usr/lib/node_modules/nodemon/nodemon.js:277:4)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)
zsh: exit 1 nodemon main.js
$
```

the content of main.js it's just:

```javascript
var http = require("http");

var server = http.createServer(function(req, res){
res.writeHead(200);
res.end("hhelllaskd asdi o");

});

server.listen(8080);
```

My version of node it's 0.6.6 and the version of nodemon 0.5.7 and i've installed nodemon from npm.

Any clue on how to get this working?