Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    wait-gruntpublic

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

    Keywords

    none

    install

    npm i wait-grunt

    Downloadsweekly downloads

    5

    version

    0.1.0

    license

    none

    homepage

    gruntjs.com

    repository

    githubgithub

    last publish

    collaborators

    • avatar