{"action":"created","issue":{"url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/120","labels_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/120/comments","events_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/120/events","html_url":"https://github.com/bhauman/lein-figwheel/issues/120","id":66198481,"number":120,"title":"If the namespace has a reserved JS keyword in its name, cljs.compiler will make figwheel look for the wrong path ","user":{"login":"ravicious","id":27113,"avatar_url":"https://avatars.githubusercontent.com/u/27113?v=3","gravatar_id":"","url":"https://api.github.com/users/ravicious","html_url":"https://github.com/ravicious","followers_url":"https://api.github.com/users/ravicious/followers","following_url":"https://api.github.com/users/ravicious/following{/other_user}","gists_url":"https://api.github.com/users/ravicious/gists{/gist_id}","starred_url":"https://api.github.com/users/ravicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravicious/subscriptions","organizations_url":"https://api.github.com/users/ravicious/orgs","repos_url":"https://api.github.com/users/ravicious/repos","events_url":"https://api.github.com/users/ravicious/events{/privacy}","received_events_url":"https://api.github.com/users/ravicious/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-03T17:54:32Z","updated_at":"2015-04-04T21:51:08Z","closed_at":null,"body":"* figwheel `0.2.5-SNAPSHOT`\r\n* clojure `1.6.0`\r\n* clojurescript `0.0-3058`\r\n* Google Chrome `41.0.2272.104 (64-bit)` / Mozilla Firefox `36.0.4`\r\n* OS X `10.10.2`\r\n\r\n[A repo with an example that illustrates the problem](https://github.com/ravicious/figwheel-namespace-bug).\r\n\r\nSteps to reproduce the problem:\r\n\r\n1. Clone the repo.\r\n2. Run figwheel with `lein figwheel`.\r\n3. Open the app page.\r\n4. Open the developer console.\r\n5. Open `src/figwheel_namespace_bug/interface/handlers.cljs` and trigger a file reload (just saving the file should do the job).\r\n6. figwheel will output something like that in the console:\r\n\r\n```\r\nFigwheel: notified of file changes\r\n❌ GET http://localhost:3449/js/compiled/out/figwheel_namespace_bug/interface$/handlers.js?zx=8mdlcix66wpj\r\n❌ Figwheel: Error loading file http://localhost:3449/js/compiled/out/figwheel_namespace_bug/interface$/handlers.js\r\n```\r\n\r\nAs you can see, instead of trying to look in the `interface` folder, it tries to fetch the `interface$` folder.\r\n\r\nCurrent solution: just rename the namespace to `ui`. ;)"},"comment":{"url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/comments/89671111","html_url":"https://github.com/bhauman/lein-figwheel/issues/120#issuecomment-89671111","issue_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/120","id":89671111,"user":{"login":"ravicious","id":27113,"avatar_url":"https://avatars.githubusercontent.com/u/27113?v=3","gravatar_id":"","url":"https://api.github.com/users/ravicious","html_url":"https://github.com/ravicious","followers_url":"https://api.github.com/users/ravicious/followers","following_url":"https://api.github.com/users/ravicious/following{/other_user}","gists_url":"https://api.github.com/users/ravicious/gists{/gist_id}","starred_url":"https://api.github.com/users/ravicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravicious/subscriptions","organizations_url":"https://api.github.com/users/ravicious/orgs","repos_url":"https://api.github.com/users/ravicious/repos","events_url":"https://api.github.com/users/ravicious/events{/privacy}","received_events_url":"https://api.github.com/users/ravicious/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T21:51:08Z","updated_at":"2015-04-04T21:51:08Z","body":"Looks like the commit 212a8818 introduces `cljs.compiler/munge`. Guessing from the code and my understanding of what `munge` does, using an empty set shouldn't cause any problems."}}