ionic run browser --livereload not working

后端 未结 5 1338
时光取名叫无心
时光取名叫无心 2021-02-19 12:13

i was trying to use live reload on my ionic 2 application. so i found this command

ionic run browser --live-reload

is not working as expected

5条回答
  •  时光取名叫无心
    2021-02-19 12:29

    When you run the command ionic cordova run browser --livereload you will see something like this in CLI:

    [19:39:00]  dev server running: http://localhost:8100/ 
    
    [INFO] Development server running
           Local: http://localhost:8100
           External: http://192.168.0.51:8100
    

    Just open http://192.168.0.51:8100 or http://localhost:8100 and your live reload will work on that address. Your browser might have opened in http://localhost:8000 instead of 8100

提交回复
热议问题