https://github.com/vinta/hubot-reload-scripts
Reloads scripts without restart, loads new scripts too. (a fork version that works perfectly)
https://github.com/vinta/hubot-reload-scripts
Last synced: 3 months ago
JSON representation
Reloads scripts without restart, loads new scripts too. (a fork version that works perfectly)
- Host: GitHub
- URL: https://github.com/vinta/hubot-reload-scripts
- Owner: vinta
- License: mit
- Created: 2015-06-22T19:53:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T18:47:04.000Z (over 1 year ago)
- Last Synced: 2025-04-13T05:39:56.912Z (6 months ago)
- Language: CoffeeScript
- Homepage: https://www.npmjs.com/package/hubot-reload-scripts
- Size: 9.77 KB
- Stars: 25
- Watchers: 2
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hubot-reload-scripts
[](https://www.npmjs.com/package/hubot-reload-scripts)
Reloads scripts without restart. Loads new scripts too. (a fork version that works perfectly)
Fork from [the original](https://github.com/github/hubot-scripts/blob/master/src/scripts/reload.coffee) `reload.coffee` and @srobroek's [code](https://github.com/srobroek/hubot/blob/e543dff46fba9e435a352e6debe5cf210e40f860/src/robot.coffee).
## Installation
In your hubot project repo, run:
``` bash
npm install hubot-reload-scripts --save
```Then add **hubot-reload-scripts** to your `external-scripts.json`:
``` json
[
"hubot-reload-scripts"
]
```## Usage
```
user>> hubot reload
hubot>> Reloaded all scripts
```