Reloads your app styles (ember-cli < 2.3.0)
JavaScript
Latest commit e584f84 Mar 30, 2016 @xomaczar Update README.md
Permalink
Failed to load latest commit information.
lib
tests
vendor/ember-cli-styles-reloader
.bowerrc
.editorconfig
.ember-cli
.gitignore
.jshintrc
.npmignore
.travis.yml
.watchmanconfig
Brocfile.js
LICENSE.md
README.md
bower.json
index.js
package.json
testem.json

README.md

view on npm npm module downloads per month Build Status

Ember-cli-styles-reloader

Reloads changed styles (css|scss|sass|less|styl) without reloading the entire ember-cli app.

Installation

Run either command below depending on Ember version in your project folder.

For Ember CLI >= 2.3.0:

npm uninstall ember-cli-styles-reloader --save-dev

Seriously, starting from ember-cli version 2.3.0 - styles reloading is supported out of the box.

For Ember CLI >= 0.2.3:

ember install ember-cli-styles-reloader

For Ember CLI < 0.2.3:

ember install:addon ember-cli-styles-reloader

Configurations

  • All style changes can be animated to smoothly transition between old/new change sets. By default this feature is disabled, in order to not interfere with existing transition(s) defined in your app. To enable it:
//your-app/config/environment.js

 ENV['ember-cli-styles-reloader'] = {
    animateChanges: true
};

Running

  • ember server
  • Visit your app at http://localhost:4200

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.