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
You could try the Cordova Browsersync plugin. Instructions to use the plugin are in the plugin's repo.
Once you add this plugin using cordova plugin add cordova-plugin-browsersync
, you can simply use cordova run -- --live-reload
to start live reload. Note that this also enables syncing scrolls and clicks if you have multiple devices.