Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this supposed to auto-reload on code changes? #4

Open
theronic opened this issue Mar 13, 2018 · 3 comments
Open

Is this supposed to auto-reload on code changes? #4

theronic opened this issue Mar 13, 2018 · 3 comments

Comments

@theronic
Copy link

Does this not update Cordova sources when I update ClojureScript code?

When I change any Cljs views, Cljs recompiles, but browser client does not update, not even if I refresh.

Am I supposed to remove and re-add the cordova platforms every time I make a code change?

@luposlip
Copy link
Member

Hi @theronic,

To make your changes reflect in the app (physical device, simulator or just browser) you need to close the browser, and call cordova again.

Fortunately you can develop your UI without Cordova plugins, with full reload, simply by using figwheel and disabling everything Cordova/native.

Let me know if this answers your question?

@luciodale
Copy link

how do you "disable" everything Cordova/native?

@luposlip
Copy link
Member

Sorry, missed your reply.
Just don't use them, and if you use them, comment them out while you develop your app in the browser, before adding the native functionality (after which you need to use the device and the close/re-open cycle again).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants