1.0.4 • Published 9 years ago

mako-watch v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

mako-watch

A mako util for watching a build root for changes.

npm version npm dependencies npm dev dependencies

Purpose

This plugin takes a mako tree, and sets up a watch (using chokidar) against the configured root. The watcher itself is an Emitter with events for responding to changes in the dependency tree.

API

Watcher(tree, options)

Creates a new watcher for the given mako tree. The input options will be passed directly to chokidar.

Events

  • ready() after the initial scan is complete
  • change(file, tree) when a file has been modified
  • error(err) when an error has been triggered

Watcher#unwatch()

Shuts down the chokidar watcher.

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago