0.2.2 • Published 10 years ago
fs-animation v0.2.2
fs-animation
Realtime file system change animation which can also be played back. Built on Immutable.JS
Installation
npm install fs-animation -gUsage
Watch current folder:
fs-animationWatch multiple folders:
fs-animation /tmp/a /tmp/bOptions
fs-animation -h| Options | Default | Description | 
|---|---|---|
| hostname | 127.0.0.1 | Listening hostname | 
| ignoreInitial | true | Existing files will not trigger evnets | 
| ignoredDotFiles | true | Ignore file folds starts with dot, eg: .git | 
| ignore | null | Directories to ignore | 
| port | 8001 | Listening port | 
| throttle | 100 | throttle of broadcasting | 
Logging
Default loggin level is warn,you can overide it using -v options.
| Option | LogLevel | 
|---|---|
| -v | Info | 
| -vv | Debug | 
| -vvv | Trace | 
Testing
npm testDocker usage
sudo docker run -P -v=/tmp:/watched:ro wyvernnot/fs-animation Example 1 - NPM install progress behind scenes
fs-animation --ignoredDotFiles false ~/.npm /tmp -vcd /tmp
npm install debug
Example 2 - Watch docker directory

License
MIT