HaulinOats
HaulinOats

Reputation: 3878

Ember 2.0 not live reloading

I created a new app using the ember-cli. It creates the project just fine. I updated the 'bower.json' file to use 2.0.0 for both Ember and Ember Data and installed them. The core of my application setup works how it should.

When I do 'ember serve', my application opens at localhost:4200 but is constantly showing the reload gif on the tab and the status bar at the bottom of the screen continues to show 'waiting for localhost...'. The 'Welcome To Ember' text shows. Any changes I make are not live reloaded in my browser, however, a hard reload shows the changes even when just trying to edit the application.hbs file. Any ideas as to what's going on?

Upvotes: 2

Views: 239

Answers (2)

mikhail
mikhail

Reputation: 5189

For me ember serve --lrp 9000 worked and fixed live-reload.

(I tried the other suggestion to use ember serve host 0.0.0.0 and it stopped the "loading" spinner, but live-reload still did not work.)

Upvotes: 0

Chris Rice
Chris Rice

Reputation: 819

Are you on windows? It sounds like this bug that is currently being worked on.

https://github.com/ember-cli/ember-cli/issues/5123

Upvotes: 3

Related Questions