{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/6e283a554e50ee3d10e5386f85816463?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6e283a554e50ee3d10e5386f85816463","url":"https://api.github.com/users/rodnaph","login":"rodnaph","id":447579},"milestone":null,"assignee":null,"labels":[{"name":"confirmed-bugs","color":"02e10c","url":"https://api.github.com/repos/indexzero/forever/labels/confirmed-bugs"}],"updated_at":"2011-11-03T05:48:48Z","comments":11,"closed_at":"2011-11-03T02:23:39Z","url":"https://api.github.com/repos/indexzero/forever/issues/129","body":"I'm running forever like this...\r\n\r\n$> forever -w server.js\r\n\r\nBut changes are *always* detected in *all* the files in my project, and the script is restarted once a second.\r\n\r\nIf there is a legitimate change in a file then only that file is listed as being changed, and forever correctly restarts the script.  But if there are no changes then it reports *all* files as having changed and restarts the script.\r\n\r\nI'm on OSX 10.6.8, using zsh, node 0.4.10, and npm versions...\r\n\r\n├─┬ forever@0.6.9 \r\n│ ├── async@0.1.10 \r\n│ ├── cliff@0.1.5 \r\n│ ├── colors@0.5.1 \r\n│ ├── daemon@0.3.0 \r\n│ ├── eyes@0.1.6 \r\n│ ├─┬ minimatch@0.0.4 \r\n│ │ └── lru-cache@1.0.4 \r\n│ ├── mkdirp@0.0.7 \r\n│ ├─┬ nconf@0.4.3 \r\n│ │ └── ini@1.0.1 \r\n│ ├─┬ optimist@0.2.6 \r\n│ │ └── wordwrap@0.0.2 \r\n│ ├── pkginfo@0.2.2 \r\n│ ├── portfinder@0.2.0 \r\n│ ├── timespan@2.0.1 \r\n│ ├── watch@0.3.3 \r\n│ └─┬ winston@0.5.3 \r\n│   ├─┬ loggly@0.3.8 \r\n│   │ └── request@1.9.9 \r\n│   └── stack-trace@0.0.6 \r\n\r\n","html_url":"https://github.com/indexzero/forever/issues/129","number":129,"title":"Watching files always detects changes","id":1817937,"created_at":"2011-10-04T21:09:11Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/238dabe9f0d4da12c85c694811bb28ce?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"238dabe9f0d4da12c85c694811bb28ce","url":"https://api.github.com/users/geddesign","login":"geddesign","id":515722},"updated_at":"2011-11-03T05:48:48Z","url":"https://api.github.com/repos/indexzero/forever/issues/comments/2613501","body":"@indexzero cool you're right, watch 0.4.0 has been published to npm. I reinstalled forever but it still brought down watch 0.3.3. I submitted a [pull request](https://github.com/indexzero/forever/pull/155) for updating the dependency version.\r\n\r\nI manually replaced forever's watch with the latest and --watch still doesn't do anything. I can create another separate issue for that. ","id":2613501,"created_at":"2011-11-03T05:48:48Z"}}