0.1.7 • Published 11 years ago

gulp-watch-network v0.1.7

Weekly downloads
5
License
MIT
Repository
github
Last release
11 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

11 years ago

0.1.6

11 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago