I am using this command to open up my app in the browser: cordova serve
but it does not refresh itself when I update my code. How can I do that?
I have trie
The cordova-plugin-browsersync can be out-dated. Alternatively, you can use watch command like:
npm install watch --save-dev
Go to scripts line under the package.json file then add:
"dev": "watch 'cordova run browser' www"
npm run dev
It will automatically refresh the page when you change anything under the www folder.
Sample screenshot: