Both my computer and my device are on the same network. My device is connected to my computer via USB. GET net::ERR_CONNECTION_REFUSED (10.192.114.17/:52)įYI, I’ve posted a StackOverflow question directly related to this problem. The app bundles itself with no error, and launched correctly on the device.īut I’ve got this error in my Chrome console:įailed to load resource: net::ERR_CONNECTION_REFUSED (livereload.js)Īnd that prevents the livereload feature to behave as expected: the server detects that a file changed, but the app on the device doesn’t autoreload I have to manually hit Ctrl+R from the console for it to reflect the actual changes.ĭoing so reloads the app all right, and I see the modifications, but the previous error is now: It then automatically added the platform ( cordova platform add -save android), starts the server and run the app on my Android device. The CLI asks me to install the plugin, which I did. Then, after selecting the tab template and all the components had been fetched: $ ionic cordova run android -l This is exactly what I did: $ ionic start myproject -type ionic1 This not only occurs in my own project, but it also occurs with a completely fresh demo app (the tabs one). The said problem is the one described by the title of this topic: I can’t manage to get the livereload.js script to get loaded when using this command: $ ionic cordova run android -l I’ve got a serious problem about my livereload since I upgraded Ionic CLI to the latest version (3.5) with the latest Cordova CLI (7.0).
0 Comments
Leave a Reply. |