{"action":"created","issue":{"url":"https://api.github.com/repos/Widdershin/cycle-restart/issues/8","labels_url":"https://api.github.com/repos/Widdershin/cycle-restart/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Widdershin/cycle-restart/issues/8/comments","events_url":"https://api.github.com/repos/Widdershin/cycle-restart/issues/8/events","html_url":"https://github.com/Widdershin/cycle-restart/issues/8","id":122240529,"number":8,"title":"Isolate support breaks in real world applications because of impurity","user":{"login":"Widdershin","id":398365,"avatar_url":"https://avatars.githubusercontent.com/u/398365?v=3","gravatar_id":"","url":"https://api.github.com/users/Widdershin","html_url":"https://github.com/Widdershin","followers_url":"https://api.github.com/users/Widdershin/followers","following_url":"https://api.github.com/users/Widdershin/following{/other_user}","gists_url":"https://api.github.com/users/Widdershin/gists{/gist_id}","starred_url":"https://api.github.com/users/Widdershin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Widdershin/subscriptions","organizations_url":"https://api.github.com/users/Widdershin/orgs","repos_url":"https://api.github.com/users/Widdershin/repos","events_url":"https://api.github.com/users/Widdershin/events{/privacy}","received_events_url":"https://api.github.com/users/Widdershin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-15T10:29:54Z","updated_at":"2015-12-15T21:41:17Z","closed_at":null,"body":"As seen in https://github.com/Widdershin/cycle-hot-reloading-example/commit/b5c18b372f5bcbbabac378d31a7b27cf1d7e6496\r\n\r\n[Here is a gif that demonstrates the problem](https://gfycat.com/PleasedGlaringBonobo)\r\n\r\n![gif](https://fat.gfycat.com/PleasedGlaringBonobo.gif)\r\n\r\nThis is because repeated calls to `isolate` without an explicit scope produce different results.\r\n\r\nIt seems like either we need to reset the value of `isolate` when we reload the code, or `cycle-restart` needs to account for the increase in values.\r\n\r\nIt seems tricky (with the current implementation of `isolate`) to reset it on code reload. @staltz @frikki you folk got any ideas?"},"comment":{"url":"https://api.github.com/repos/Widdershin/cycle-restart/issues/comments/164905986","html_url":"https://github.com/Widdershin/cycle-restart/issues/8#issuecomment-164905986","issue_url":"https://api.github.com/repos/Widdershin/cycle-restart/issues/8","id":164905986,"user":{"login":"laszlokorte","id":26493,"avatar_url":"https://avatars.githubusercontent.com/u/26493?v=3","gravatar_id":"","url":"https://api.github.com/users/laszlokorte","html_url":"https://github.com/laszlokorte","followers_url":"https://api.github.com/users/laszlokorte/followers","following_url":"https://api.github.com/users/laszlokorte/following{/other_user}","gists_url":"https://api.github.com/users/laszlokorte/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlokorte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlokorte/subscriptions","organizations_url":"https://api.github.com/users/laszlokorte/orgs","repos_url":"https://api.github.com/users/laszlokorte/repos","events_url":"https://api.github.com/users/laszlokorte/events{/privacy}","received_events_url":"https://api.github.com/users/laszlokorte/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T21:41:16Z","updated_at":"2015-12-15T21:41:16Z","body":"Is there a strong reason why isolate's second parameter is optional? I think in almost all cases you would be able (and would want) to provide a custom namespace. "}}