Live.js allows you to instantly see changes as you edit CSS and JS code. This module enables that ability for only CSS code by installing. It's mostly a themer tool, but speeds up any CSS work.

One script closer to designing in the browser.

Say goodbye to Alt-Tab. Live.js makes sure you're always looking at the latest version of the page you're working on, whether you're writing HTML, CSS or Javascript. Live.js was written by Martin Kool as the next step in Handcraft's design in the browser strategy.

Dependency:
Use the link_css module to ensure your CSS files are not using @import to get on the page.

Script Location:
This module will detect if you place the live.js script in your sites/all/libraries folder and use that. This test will be cached and requires a cache clear or Environment change to update.

Enable/Disable:
This is not intended for production use! You have a few options...

  1. Use drush to turn on as needed (since it can be a CPU hog.)
  2. Leave enabled on all multisites and let Environment control* whether live.js is included. This requires a small custom module to enable/disable modules.
  3. Add enabling this to your dev environment refresh script.
  4. There may be a drushrc.php sandbox solution.

NOTE: Environment is integrated though not a dependency.

* For dev to be automatically set, you'll either need to set Environments > "Require environment override" and use the settings.php file within your development multisite to force the environment when pulling down your database OR go set the environment to dev via the UI with every data refresh.
$conf = array('environment' => 'development');

Project information

Releases