{"action":"closed","issue":{"url":"https://api.github.com/repos/kimmobrunfeldt/chokidar-cli/issues/9","labels_url":"https://api.github.com/repos/kimmobrunfeldt/chokidar-cli/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/kimmobrunfeldt/chokidar-cli/issues/9/comments","events_url":"https://api.github.com/repos/kimmobrunfeldt/chokidar-cli/issues/9/events","html_url":"https://github.com/kimmobrunfeldt/chokidar-cli/issues/9","id":97717907,"number":9,"title":"$PATH not set correctly after 1.0.1","user":{"login":"kettuniko","id":3198138,"avatar_url":"https://avatars.githubusercontent.com/u/3198138?v=3","gravatar_id":"","url":"https://api.github.com/users/kettuniko","html_url":"https://github.com/kettuniko","followers_url":"https://api.github.com/users/kettuniko/followers","following_url":"https://api.github.com/users/kettuniko/following{/other_user}","gists_url":"https://api.github.com/users/kettuniko/gists{/gist_id}","starred_url":"https://api.github.com/users/kettuniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kettuniko/subscriptions","organizations_url":"https://api.github.com/users/kettuniko/orgs","repos_url":"https://api.github.com/users/kettuniko/repos","events_url":"https://api.github.com/users/kettuniko/events{/privacy}","received_events_url":"https://api.github.com/users/kettuniko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-28T14:19:30Z","updated_at":"2015-08-02T11:27:06Z","closed_at":"2015-08-02T11:27:06Z","body":"After the 1.0.1 release, $PATH variable is not set correctly, thus causing problems if node binaries are not located somewhere in 'default' $PATH. System: OSX with ZSH\r\n\r\nUnfortunately I couldn't figure out what's actually wrong with the release, but here's some debug help: \r\n\r\n`export PATH=/path/to/somewhere/bin:$PATH`\r\n\r\n`env`\r\n => PATH=/path/to/somewhere/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n:sunglasses: \r\n\r\n`npm install chokidar-cli@1.0.0`\r\n`touch some-file-to-watch.txt`\r\n`node_modules/.bin/chokidar 'some-file-to-watch.txt' -c 'env'`\r\n => PATH=/path/to/somewhere/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n:sunglasses:  \r\n\r\n`npm install chokidar-cli@1.0.1`\r\n`node_modules/.bin/chokidar 'some-file-to-watch.txt' -c 'env'`\r\n => PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\r\n:weary: "}}