Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including fxos-reloadcss with all npm packages installed. Try it out:

var fxosReloadcss = require("fxos-reloadcss")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

fxos-reloadcss v0.3.1

Live-reload CSS in a FirefoxOS simulator, without reloading the app

fxos-reloadcss

Live-reload CSS in a FirefoxOS simulator, without reloading the app

Install

$ npm install fxos-reloadcss

Usage

var reloadcss = require('fxos-reloadcss');

reloadcss('manifest.webapp', function(err, result) {
  console.log('done!');
});

reloadcss('manifest.webapp').then(nextPromise);

reloadcss({
  manifestURL: 'manifest.webapp',
  port:8004
}, function(err, result) {
  console.log('done!');
});

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free