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?

Était-ce utile?

La solution

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

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top