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

@kilt/watchdir

Install

npm i -D @kilt/watchdir

Running CLI

npx watchdir -d ./src \
  --when "{,**/}* ; {,**/}*.sass" "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.1.13                                ...           latest (a month ago)

13 Versions

  • 0.1.13                                ...           a month ago
  • 0.1.12                                ...           a month ago
  • 0.1.11                                ...           a month ago
  • 0.1.10                                ...           a month ago
  • 0.1.9                                ...           a month ago
  • 0.1.8                                ...           a month ago
  • 0.1.7                                ...           a month ago
  • 0.1.6                                ...           a month ago
  • 0.1.5                                ...           a month ago
  • 0.1.3                                ...           a month ago
  • 0.1.2                                ...           a month ago
  • 0.1.1                                ...           a month ago
  • 0.1.0                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 13
This Month 13
Last Day 13
Last Week 0
Last Month 206
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |