简体   繁体   中英

Ionic cordova livereload on device doesn't work anymore

Until today when I lauched

    ionic cordova run android -l

my app was running in livereload mode on real android device. Suddenly doesn't work anymore. I mean the app runs on device but doesn't listen anymore on file changes, so I cannot see the live changes on device, I must rebuild and rerun the app.

My cli version is 5.4.7.

Any help is appreciated.

确保您在 PC 和移动设备中连接到同一网络

The solution was updating ionic and cordova frameworks. So I lauched

    npm update
    npm update -g ionic
    npm update -g cordova

and now the livereload is working as usual.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM