Ember cli and livereload: how to make it work?

I can’t work with my ember cli project in my entire life. This is the first time I'm trying to use the minimize function, so I don’t know if this problem is specific to ember cli, or if my Mac environment is not configured for it.

Here is what I installed

$ ember --version: version: 0.0.46 node: 0.10.32 npm: 1.4.27 

Here's how I ran it:

 $ ember new foo-bar $ cd foo-bar $ ember server version: 0.0.46 Livereload server on port 35729 Serving on http://0.0.0.0:4200 

Going to http://localhost:4200 in Chrome shows me an ember application.

Now, if I make changes to "application.hbs" and then save it, the browser does not update. Is there anything special I need to do to enable the download?

I understand that this question is similar to live-reload, not working with ember-cli , but the answer to this question does not solve my problem.

+7
ember-cli livereload
source share
1 answer

This is a known issue with 0.0.46 at the moment. You can manually add this script tag to app/index.html to get around it.

 <script src="http://localhost:35729/livereload.js?snipver=1" type="text/javascript"></script> 
+6
source share

All Articles