Live reload is not working with Ionic serve command

Kunal Kapadia picture Kunal Kapadia · Aug 19, 2014 · Viewed 11.8k times · Source

As per the Ionic Guide Chapter 4 http://ionicframework.com/docs/guide/testing.html, ionic serve will start a live reload server, which it does in my case, but reload is not happening.

Is there any pre-req we need to have for this thing to work? Like say live reload chrome extension?

E:\Ionic\myapp>ionic serve
Running dev server: http://localhost:8100
Running live reload server: http://localhost:35729

Answer

Vlad Bezden picture Vlad Bezden · Mar 10, 2015

Here is what worked for me:

  • stop ionic service if you running it 'q' command
  • run: ionic address from command prompt

After running this command it will prompt you to select what address you would like to use one is localhost and the second one is your machine IP address. Try to use select your machine IP address instead of localhost.