Question

I am using ember-cli for my current ember project, I start the server using broccoli serve however livereload does not work and I need to refresh the page everytime I make changes. What is the correct way to use livereload with ember-cli and broccoli?

Was it helpful?

Solution

you should use ember server for your ember-cli projects.

OTHER TIPS

Live reload should work out of the box from ember-cli. To fix the live reload problem try updating the version of ember-cli.

To use

broccoli serve
broccoli build 

you can do the following:

Install broccoli-cli globally

npm install -g broccoli-cli

Go to the root of your project where you want to run broccoli commands and do the following

npm install --save-dev broccoil 

Then broccoli build & broccoli serve should work for your project according to brocfile.js

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top