Skip to content

shama/wait-grunt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Grunt's command line interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.4%
  • Shell 30.6%