0.0.4 • Published 9 years ago

laravel-elixir-lr v0.0.4

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

laravel-elixir-lr

The LiveReload extension for Laravel Elixir.

Install

npm install laravel-elixir-lr --save-dev

Usage

Just add the extension to your glup file and mix it! The LiveReload server will watch your files for changes only when you run gulp watch task.

var elixir = require('laravel-elixir');
require('laravel-elixir-lr');

elixir(function (mix) {
    mix.livereload();
});

By default the extension will watch this files:

[
    './app/**/*.php',
    './public/**/*.+(css|js|jpg|png)',
    './resources/**/*.php'
]

But you can specify which files you want to be watched:

mix.livereload([
    'my/css/styles.css',
    'my/js/scripts.js'
]);
0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago