문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top