cordevicljs icon indicating copy to clipboard operation
cordevicljs copied to clipboard

Is this supposed to auto-reload on code changes?

Open theronic opened this issue 8 years ago • 3 comments

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?

theronic avatar Mar 13 '18 07:03 theronic

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?

luposlip avatar Mar 14 '18 07:03 luposlip

how do you "disable" everything Cordova/native?

luciodale avatar Dec 06 '18 12:12 luciodale

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).

luposlip avatar Dec 19 '20 15:12 luposlip