Is there a way that I do not re run "cordova run browser", but I just refresh the page after I make changes to my js code? It would be faster to just press F5 on the browser.
Thank you
Actually it is Chrome, but a different version from the Chrome App.
Add a platform After creating a Cordova project, navigate to the project directory. From the project directory, you need to add a platform for which you want to build your app. To add a platform, type cordova platform add <platform name> . For a complete list of platforms you can add, run cordova platform .
cordova clean command Cleans the build artifacts for all the platforms, or the specified platform by running platform-specific build cleanup.
Cordova Browser-Sync Plugin make exactly this.
$ cordova plugin add cordova-plugin-browsersync
$ cordova run browser -- --live-reload
F5 will be refresh content after editing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With