0.1.0 • Published 10 years ago

wait-grunt v0.1.0

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

wait-grunt

An alternative to the Grunt command line interface. Ability to fork Grunt but have it wait for a signal before executing.

npm install wait-grunt --save-dev
var fork = require('child_process').fork;
var path = require('path');

// create a fork that waits to be executed
var child = fork('./node_modules/.bin/wait-grunt');

// 5s later, run the jshint task
setTimeout(function() {
  child.send('jshint --verbose');
}, 5000);
0.1.0

10 years ago