ape-watching

ape framework module for watching files.

## git diff NO LONGER MAINTAINED use [awatch](https://github.com/a-labo/awatch#readme) instead.
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install ape-watching 
SYNC missed versions from official npm registry.

ape-watching

Build Status Code Climate Code Coverage Dependency Status npm Version JS Standard

ape framework module for watching files.

Usage

Watch files.

#!/usr/bin/env
'use strict'

const apeWatching = require('ape-watching')

const watchers = apeWatching.watchFiles([
  'src/javascripts/**/*.js',
  'assets/javascripts/**/*.js'
], (ev, filename) => {
  /* ... */
})

setTimeout(() => {
  watchers.forEach((watcher) => {
    watcher.close() // Stop watching
  })
}, 1000)

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 80
Dependencies (5)
Dev Dependencies (10)

Copyright 2014 - 2018 © taobao.org |