/ember-cli-styles-reloader

Reloads your app styles (ember-cli < 2.3.0)

Primary LanguageJavaScriptMIT LicenseMIT

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

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

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