hubot-watch-file

0.0.1 • Public • Published

hubot-watch-file

A hubot script that watch for file changes.

Install

npm install --save hubot-watch-file

Prerequirement

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/hubot

Sample

export HUBOT_WATCH_FILE_1="1243=/Users/michael/Documents/"
bin/hubot

/hubot-watch-file/

    Package Sidebar

    Install

    npm i hubot-watch-file

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • kuronekomichael