fs-animation
v0.2.2
Published
Realitime file system change animation which can be played back too.
Downloads
7
Maintainers
Readme
fs-animation
Realtime file system change animation which can also be played back. Built on Immutable.JS
Installation
npm install fs-animation -g
Usage
Watch current folder:
fs-animation
Watch multiple folders:
fs-animation /tmp/a /tmp/b
Options
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 test
Docker 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 -v
cd /tmp
npm install debug
Example 2 - Watch docker directory
License
MIT