1.0.4 • Published 7 years ago

mako-watch v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago