Hi-Rube / fs-animation

Realtime file system change animation which can be played back too.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

record

Example 2 - Watch docker directory

License

MIT

About

Realtime file system change animation which can be played back too.

License:MIT License


Languages

Language:JavaScript 92.6%Language:HTML 4.4%Language:CSS 3.0%