pon-watcher

2.0.7 • Public • Published

Title Banner

Build Status npm Version JS Standard

File watcher for pon

Installation

$ npm install pon-watcher --save

Usage

'use strict'
 
const ponWatcher = require('pon-watcher')
 
async function tryExample () {
  let watcher = ponWatcher({})
 
  let close = await watcher.watch('src/**/*.jsx', (event, filename) => {
    /* ... */
  })
  process.on('beforeExit', () => {
    close()
  })
}
 
tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the Apache-2.0 License.

Links

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.710latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.710
2.0.10

Package Sidebar

Install

npm i pon-watcher

Weekly Downloads

9

Version

2.0.7

License

Apache-2.0

Unpacked Size

170 kB

Total Files

49

Last publish

Collaborators

  • okunishinishi
  • realglobe