hubot-watch-file
v0.0.1
Published
A hubot script that watch the files
Readme
hubot-watch-file
A hubot script that watch for file changes.
Install
npm install --save hubot-watch-filePrerequirement
Edit your external script of your hubot.
vi ./external-scripts.json
+ "hubot-watch-file",Add environment varibale(s).
export HUBOT_WATCH_FILE_1="{room_id}={directory path}
export HUBOT_WATCH_FILE_2="{room_id}={directory path}
export HUBOT_WATCH_FILE_3="{room_id}={directory path}
...
bin/hubotSample
export HUBOT_WATCH_FILE_1="1243=/Users/michael/Documents/"
bin/hubot