pon-watcher
File watcher for pon
Last updated 8 months ago by realglobe .
Apache-2.0 · Repository · Bugs · Original npm · Tarball
$ cnpm install pon-watcher 
SYNC missed versions from official npm registry.

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

Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (16)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |