fs-animation
![](https://img.shields.io/docker/pulls/wyvernnot/fs-animation.svg)
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
![record](https://github.com/wyvernnot/fs-animation/raw/HEAD/doc/record.gif)
Example 2 - Watch docker directory
![](https://github.com/wyvernnot/fs-animation/raw/HEAD/doc/screenshot.png)
License
MIT