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

Readme

Keywords

Package Sidebar

Install

npm i pon-watcher

Weekly Downloads

0

Version

2.0.7

License

Apache-2.0

Unpacked Size

170 kB

Total Files

49

Last publish

Collaborators

  • okunishinishi
  • realglobe