0.1.7 • Published 9 years ago

gulp-watch-network v0.1.7

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

Build Status

Information

Based on the Listen Feature "Forwarding file events over TCP", this plugin will connect to a Listen broadcaster as a receiver and watch for File Events. Upon receiving a File Event it will execute tasks based on patterns. This can be useful for virtualized development environments when file events are unavailable, as is the case with Vagrant / VirtualBox.

Usage

gulp = require('gulp');
gulp.task('something:important', function() {
  // ..
});

WatchNetwork = require("gulp-watch-network");

watch = WatchNetWork({
  gulp: gulp,
  host: '127.0.0.1',
  configs: [
    {
      tasks: 'something:important'
      onLoad: true
    }, {
      patterns: 'lib/*.coffee'
      tasks: 'something:important'
    }
  ]
});

watch.on('changed', function(files) {
  // .. files changed..
});

watch.on('initialized', function(files) {
  // .. watcher finished initializing..
});

watch.initialize();

License

Licensed under the MIT license.

0.1.7

9 years ago

0.1.6

9 years ago

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.1

9 years ago

0.1.0

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago