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 · package.json
$ 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

Current Tags

  • 2.1.4                                ...           latest (2 years ago)

15 Versions

  • 2.1.4 [deprecated]           ...           2 years ago
  • 2.1.3 [deprecated]           ...           2 years ago
  • 2.1.2 [deprecated]           ...           2 years ago
  • 2.1.1 [deprecated]           ...           2 years ago
  • 2.1.0 [deprecated]           ...           3 years ago
  • 2.0.0 [deprecated]           ...           3 years ago
  • 1.1.4 [deprecated]           ...           3 years ago
  • 1.1.3 [deprecated]           ...           3 years ago
  • 1.1.2 [deprecated]           ...           3 years ago
  • 1.1.1 [deprecated]           ...           3 years ago
  • 1.0.4 [deprecated]           ...           3 years ago
  • 1.0.3 [deprecated]           ...           3 years ago
  • 1.0.2 [deprecated]           ...           3 years ago
  • 1.0.1 [deprecated]           ...           3 years ago
  • 1.0.0 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 27
Last Day 0
Last Week 15
Last Month 31
Dependencies (5)
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |