Reloads scripts without restart. Loads new scripts too. (a fork version that works perfectly)
Fork from the original reload.coffee
and @srobroek's code.
In your hubot project repo, run:
npm install hubot-reload-scripts --save
Then add hubot-reload-scripts to your external-scripts.json
:
[
"hubot-reload-scripts"
]
user>> hubot reload
hubot>> Reloaded all scripts