This package has been deprecated

Author message:

## git diff NO LONGER MAINTAINED use [awatch](https://github.com/a-labo/awatch#readme) instead.

ape-watching

2.1.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ape-watching

Weekly Downloads

10

Version

2.1.4

License

MIT

Last publish

Collaborators

  • okunishinishi