Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

ponko2/laravel-elixir-browser-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laravel-elixir-browser-sync

Install

$ composer global require "laravel/homestead=~2.0"
$ homestead init
$ homestead edit

Laravel Elixir 2.x

$ npm install laravel-elixir-browser-sync@0.1.7 --save-dev

Laravel Elixir 3.x

$ npm install laravel-elixir-browser-sync@beta --save-dev

Usage

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

require('laravel-elixir-browser-sync');

elixir(function(mix) {
  mix.browserSync([
    'app/**/*',
    'public/**/*',
    'resources/views/**/*'
  ], {
    proxy: 'homestead.app',
    reloadDelay: 2000
  });
});

Laravel Elixir 2.x

$ homestead up
$ gulp watch

Laravel Elixir 3.x

$ homestead up
$ gulp serve watch

About

Laravel Elixir BrowserSync Extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published