{"action":"opened","issue":{"url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/384","repository_url":"https://api.github.com/repos/bhauman/lein-figwheel","labels_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/384/comments","events_url":"https://api.github.com/repos/bhauman/lein-figwheel/issues/384/events","html_url":"https://github.com/bhauman/lein-figwheel/issues/384","id":153518080,"number":384,"title":"How do I control where files are reloaded from","user":{"login":"Whoops","id":304505,"avatar_url":"https://avatars.githubusercontent.com/u/304505?v=3","gravatar_id":"","url":"https://api.github.com/users/Whoops","html_url":"https://github.com/Whoops","followers_url":"https://api.github.com/users/Whoops/followers","following_url":"https://api.github.com/users/Whoops/following{/other_user}","gists_url":"https://api.github.com/users/Whoops/gists{/gist_id}","starred_url":"https://api.github.com/users/Whoops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Whoops/subscriptions","organizations_url":"https://api.github.com/users/Whoops/orgs","repos_url":"https://api.github.com/users/Whoops/repos","events_url":"https://api.github.com/users/Whoops/events{/privacy}","received_events_url":"https://api.github.com/users/Whoops/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T19:07:01Z","updated_at":"2016-05-06T19:07:01Z","closed_at":null,"body":"Hello,\r\n\r\nWe are currently using Cordova combined with Clojurescript to develop a mobile app. We've been using Figwheel for code reloading, but at some point this broke on the device and simulator. Basically the problem is that when running via Cordova, the page isn't actually loaded through figwheel, instead being served from the local filesystem, so when we modify a file it reloads it from `file://` instead of the figwheel server.\r\n\r\nWe were working around this by using `:url-rewriter` to redirect it to the figwheel server, however it looks like this option has been removed. Is there a new way to accomplish this? I see there is a `before-jsload` hook, but based on my reading of the code it doesn't look to me like it provides a way to actually modify what's about to be loaded.\r\n\r\nThanks for the great resource!"}}