grunt-browser-sync

Live CSS reload & Browser Syncing


Keywords
gruntplugin, live reload, inject styles, style injector, auto refresh
License
MIT
Install
npm install grunt-browser-sync@2.2.0

Documentation

grunt-browser-sync NPM version

A grunt task for the browser-sync module.

Follow @browserSync for news & updates.

Getting Started

This plugin requires Grunt ~0.4.1

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins.

About

For a full list of features, please visit https://github.com/shakyShane/browser-sync

Install

npm install grunt-browser-sync --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-browser-sync');

Usage

Please see the Grunt JS section of the Official BrowserSync Documentation.

Support

If you've found Browser-sync useful and would like to contribute to its continued development & support, please feel free to send a donation of any size - it would be greatly appreciated!

Support via Gittip Support via PayPal

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.