0.1.5 • Published 9 years ago

laravel-elixir-browsersync v0.1.5

Weekly downloads
24
License
MIT
Repository
github
Last release
9 years ago

Laravel Elixir BrowserSync

Version

Install

If you use Laravel Elixir Version "^3.0.0". Follow this link

If you use Laravel Elixir Version Below "^3.0.0".

$ npm install laravel-elixir-browsersync --save-dev

Usage

This is a simple wrapper around Laravel Elixir. Add it to your Elixir-enhanced Gulpfile. You need using Homestead, and configure your virtual machine and the domain homestead.app, like so:

var elixir = require('laravel-elixir');
var BrowserSync = require('laravel-elixir-browsersync');

elixir(function(mix) {
	BrowserSync.init();
	mix.BrowserSync();
});

The second use is passing options to BrowserSync, acording the documentation of BrowserSync.io, like the next example:

var elixir = require('laravel-elixir');
var BrowserSync = require('laravel-elixir-browsersync');

elixir(function(mix) {
	BrowserSync.init();
	mix.BrowserSync(
	{
		proxy 			: "domain.app",
        logPrefix		: "Laravel Eixir BrowserSync",
        logConnections	: false,
        reloadOnRestart : false,
        notify 			: false
	});
});
0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.4

9 years ago

0.0.2

9 years ago