fs0
Single directory files change watcher
Last updated a month ago by jgermade .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install fs0 
SYNC missed versions from official npm registry.

fsglob (fsg)

Install

npm i -D fsglob

Running CLI

npx fsglob watch -d ./src \
  --when "{,**/}*.js" "make js" \
  --when "{,**/}*.sass" "make css" \
  --run "echo 'all when detected has finished'"

JavaScript API

import WatchDir from '@kilt/watchdir'

new WatchDir('./src')
  .when('{,**/}* ; !{,**/}*.sass', () => console.log('js files changed') )
  .when('{,**/}*.sass', () => console.log('sass files changed') )
  .run( () => console.log('all when detected has finished) )

Current Tags

  • 0.0.1                                ...           latest (a month ago)

1 Versions

  • 0.0.1                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |