jshbrntt
jshbrntt

Reputation: 5384

Apache Cordova Application Not Updating

I'm getting started with Apache Cordova so far I've got it install via Node.js and I have all the necessary SDKs and libraries installed and linked up.

I'm modifying my source html/js/css using JetBrains WebStorm on Windows 8.

I'm testing my applications on my 1st generation Nexus 7.

The key issue I'm having at the moment is when I go to re-build and run my application on the Nexus 7.

Changes to my JS reflect immediately between builds and runs such as:

console.log("Hello World"); to console.log("Hello Cordova");

However changes to the HTML such as:

<title>Hello World</title> to <title>Hello Cordova</title>

Take ages to reflect in the applications.

I assume there's some sort of cache on the device that isn't being cleared between builds?

Any ideas how to fix this?

Upvotes: 1

Views: 1438

Answers (1)

Rajesh
Rajesh

Reputation: 3778

Not sure, but try using below preference in config.xml:

<preference name="useBrowserHistory" value="false" />

Upvotes: 3

Related Questions