{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babylon/issues/234","repository_url":"https://api.github.com/repos/babel/babylon","labels_url":"https://api.github.com/repos/babel/babylon/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/babel/babylon/issues/234/comments","events_url":"https://api.github.com/repos/babel/babylon/issues/234/events","html_url":"https://github.com/babel/babylon/pull/234","id":191414845,"number":234,"title":"Add watch script for dev","user":{"login":"kaicataldo","id":7041728,"avatar_url":"https://avatars.githubusercontent.com/u/7041728?v=3","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"labels":[{"id":370920733,"url":"https://api.github.com/repos/babel/babylon/labels/internal","name":"internal","color":"1d76db","default":false},{"id":479568917,"url":"https://api.github.com/repos/babel/babylon/labels/WIP","name":"WIP","color":"683f33","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-24T01:31:56Z","updated_at":"2016-12-01T20:44:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/babel/babylon/pulls/234","html_url":"https://github.com/babel/babylon/pull/234","diff_url":"https://github.com/babel/babylon/pull/234.diff","patch_url":"https://github.com/babel/babylon/pull/234.patch"},"body":"<!--- \r\nBefore making a PR please make sure to read our contributing guidelines \r\nhttps://github.com/babel/babylon/blob/master/CONTRIBUTING.md\r\n-->\r\n\r\n| Q                 | A\r\n| ----------------- | ---\r\n| Bug fix?          | no\r\n| Breaking change?  | no\r\n| New feature?      | no\r\n| Deprecations?     | no\r\n| Spec compliancy?  | no\r\n| Tests added/pass? | no\r\n| Fixed tickets     | comma-separated list of tickets fixed by the PR, if any\r\n| License           | MIT\r\n\r\n<!-- Describe your changes below in as much detail as possible -->\r\nThe watch script was removed in [this PR](https://github.com/babel/babylon/commit/beb8db62646081a88b8db31fe95d4b37aa28d98f) when we started bundling Babylon with rollup (which is awesome!). This PR sets up a watch script for us (the big difference is that with Rollup the `es2015` preset's `modules` option must be `false`, while we need to enable transpiling to CommonJS modules when Babel is run).\r\n\r\n I tried Rollup's watcher, but [it is currently WIP](https://github.com/rollup/rollup-watch), and would crash and was unable to recover from saving files with syntax errors when I tried it.\r\n\r\nThis is more of a stop gap measure until the Rollup watcher is ready for primetime.\r\n\r\nThoughts on this? I personally was using the watcher and have continued to set up something like this up locally when I'm working on Babylon, so figured it might be nice to have a watch script again. Totally understand we probably want to use one of the two solutions above, but I figured having a watcher is better than not :)"},"comment":{"url":"https://api.github.com/repos/babel/babylon/issues/comments/264289199","html_url":"https://github.com/babel/babylon/pull/234#issuecomment-264289199","issue_url":"https://api.github.com/repos/babel/babylon/issues/234","id":264289199,"user":{"login":"kaicataldo","id":7041728,"avatar_url":"https://avatars.githubusercontent.com/u/7041728?v=3","gravatar_id":"","url":"https://api.github.com/users/kaicataldo","html_url":"https://github.com/kaicataldo","followers_url":"https://api.github.com/users/kaicataldo/followers","following_url":"https://api.github.com/users/kaicataldo/following{/other_user}","gists_url":"https://api.github.com/users/kaicataldo/gists{/gist_id}","starred_url":"https://api.github.com/users/kaicataldo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaicataldo/subscriptions","organizations_url":"https://api.github.com/users/kaicataldo/orgs","repos_url":"https://api.github.com/users/kaicataldo/repos","events_url":"https://api.github.com/users/kaicataldo/events{/privacy}","received_events_url":"https://api.github.com/users/kaicataldo/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T20:44:12Z","updated_at":"2016-12-01T20:44:12Z","body":"Maybe it would make more sense to separate these two tasks out? Seems like we could just do the watcher script in this one and we then have the env's to take it further for testing, etc. in a future PR?"}}
{"actor":{"display_login":"kaicataldo"}}