Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

luster-guard

nodules310.6.0

Restart workers on file system changes

luster, guard, watch

readme

luster-guard NPM version

Dependency status Development Dependency status

Restart workers on file system changes.

Usage

Install extension module to application:

$ npm install --save luster-guard

Add "luster-guard" to "extensions" section in the luster configuration:

module.exports = {
    // ...

    extensions : {
        "luster-guard" : {
            // fs events handler debounce timeout (ms)
            debounce : 2000,

            // chokidar fs polling interval (ms)
            interval : 300,

            // don't log events, default: false
            silent : false,

            // if not defined, all files will be included in monitoring
            patterns: [ '**/*.js', '!**/node_modules/**' ],

            // restart workers in sequence, default: true
            softRestart: true
        }
    }
};

Have fun!

changelog

Changelog

0.5.0 - 2015-09-30

Vladimir Varankin nek.narqo@gmail.com

  • Use chokidar for FS events watching (#7) (#8)
  • Remove events option (#9)
  • Add example

0.4.0 - 2014-04-17

Phillip Kovalev twilightfeel@gmail.com

  • Pass the FS polling interval from the extension config to the Gaze
  • Update Gaze from 0.4 to lastest 0.6

0.3.1 - 2014-02-16

Phillip Kovalev twilightfeel@gmail.com

  • Remove redundant direct dependency from minimatch

0.3.0 - 2014-02-16

Phillip Kovalev twilightfeel@gmail.com

  • Change paths filter configuration to native for globule (which is used by gaze).

0.2.1 - 2013-12-25

Phillip Kovalev twilightfeel@gmail.com

  • Initial public release