{"action":"created","issue":{"url":"https://api.github.com/repos/vigour-io/gaston/issues/104","labels_url":"https://api.github.com/repos/vigour-io/gaston/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/vigour-io/gaston/issues/104/comments","events_url":"https://api.github.com/repos/vigour-io/gaston/issues/104/events","html_url":"https://github.com/vigour-io/gaston/issues/104","id":122103965,"number":104,"title":"Gaston breaks on saving files in Scratch","user":{"login":"nikoloza","id":962224,"avatar_url":"https://avatars.githubusercontent.com/u/962224?v=3","gravatar_id":"","url":"https://api.github.com/users/nikoloza","html_url":"https://github.com/nikoloza","followers_url":"https://api.github.com/users/nikoloza/followers","following_url":"https://api.github.com/users/nikoloza/following{/other_user}","gists_url":"https://api.github.com/users/nikoloza/gists{/gist_id}","starred_url":"https://api.github.com/users/nikoloza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikoloza/subscriptions","organizations_url":"https://api.github.com/users/nikoloza/orgs","repos_url":"https://api.github.com/users/nikoloza/repos","events_url":"https://api.github.com/users/nikoloza/events{/privacy}","received_events_url":"https://api.github.com/users/nikoloza/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vigour-io/gaston/labels/pri:%20high","name":"pri: high","color":"5319e7"},{"url":"https://api.github.com/repos/vigour-io/gaston/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"andrepadez","id":1013997,"avatar_url":"https://avatars.githubusercontent.com/u/1013997?v=3","gravatar_id":"","url":"https://api.github.com/users/andrepadez","html_url":"https://github.com/andrepadez","followers_url":"https://api.github.com/users/andrepadez/followers","following_url":"https://api.github.com/users/andrepadez/following{/other_user}","gists_url":"https://api.github.com/users/andrepadez/gists{/gist_id}","starred_url":"https://api.github.com/users/andrepadez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrepadez/subscriptions","organizations_url":"https://api.github.com/users/andrepadez/orgs","repos_url":"https://api.github.com/users/andrepadez/repos","events_url":"https://api.github.com/users/andrepadez/events{/privacy}","received_events_url":"https://api.github.com/users/andrepadez/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-14T18:41:01Z","updated_at":"2015-12-14T21:37:04Z","closed_at":null,"body":"Hey @andrepadez \r\n\r\nWhen changing `LESS` files in **Scratch**, gaston throws this error and stops working:\r\n\r\n```\r\n/Users/nikoloza/www/gaston/lib/http-server/watcher/handlers/on-change.js:27\r\n      if(project.reloading){\r\n                ^\r\n\r\nTypeError: Cannot read property 'reloading' of undefined\r\n    at FSWatcher.onChange (/Users/nikoloza/www/gaston/lib/http-server/watcher/handlers/on-change.js:27:17)\r\n    at emitOne (events.js:78:13)\r\n    at FSWatcher.emit (events.js:170:7)\r\n    at FSWatcher.<anonymous> (/Users/nikoloza/www/gaston/node_modules/chokidar/index.js:171:15)\r\n    at FSWatcher._emit (/Users/nikoloza/www/gaston/node_modules/chokidar/index.js:208:5)\r\n    at FSWatcher.<anonymous> (/Users/nikoloza/www/gaston/node_modules/chokidar/lib/fsevents-handler.js:172:14)\r\n    at addOrChange (/Users/nikoloza/www/gaston/node_modules/chokidar/lib/fsevents-handler.js:177:7)\r\n    at FSWatcher.<anonymous> (/Users/nikoloza/www/gaston/node_modules/chokidar/lib/fsevents-handler.js:203:16)\r\n    at filteredListener (/Users/nikoloza/www/gaston/node_modules/chokidar/lib/fsevents-handler.js:45:7)\r\n    at /Users/nikoloza/www/gaston/node_modules/chokidar/lib/fsevents-handler.js:70:11\r\n    at Array.forEach (native)\r\n    at FSEvents.<anonymous> (/Users/nikoloza/www/gaston/node_modules/chokidar/lib/fsevents-handler.js:69:34)\r\n    at emitThree (events.js:98:13)\r\n    at FSEvents.emit (events.js:176:7)\r\n    at Immediate._onImmediate (/Users/nikoloza/www/gaston/node_modules/fsevents/fsevents.js:44:11)\r\n    at processImmediate [as _immediateCallback] (timers.js:384:17)\r\n```\r\n\r\nThis only happens in **Scratch**, but not in **UIKit** or **Play**\r\n\r\nPS: reinstalling node modules did not help :/"},"comment":{"url":"https://api.github.com/repos/vigour-io/gaston/issues/comments/164567423","html_url":"https://github.com/vigour-io/gaston/issues/104#issuecomment-164567423","issue_url":"https://api.github.com/repos/vigour-io/gaston/issues/104","id":164567423,"user":{"login":"nikoloza","id":962224,"avatar_url":"https://avatars.githubusercontent.com/u/962224?v=3","gravatar_id":"","url":"https://api.github.com/users/nikoloza","html_url":"https://github.com/nikoloza","followers_url":"https://api.github.com/users/nikoloza/followers","following_url":"https://api.github.com/users/nikoloza/following{/other_user}","gists_url":"https://api.github.com/users/nikoloza/gists{/gist_id}","starred_url":"https://api.github.com/users/nikoloza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikoloza/subscriptions","organizations_url":"https://api.github.com/users/nikoloza/orgs","repos_url":"https://api.github.com/users/nikoloza/repos","events_url":"https://api.github.com/users/nikoloza/events{/privacy}","received_events_url":"https://api.github.com/users/nikoloza/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T21:37:04Z","updated_at":"2015-12-14T21:37:04Z","body":"Can you pull the latest of the UIKit? I think it'll solve this issue."}}