Looking for a reliable ruby file reloader. I've tried `kicker` and `filewatcher` with the latter being mostly reliable, but it too has issues loading newly installed gems.
/users/rich/app.rb:76:in `require': cannot load such file -- pdf-reader (LoadError)
For those not familiar with this sort of approach, I have a file `~/app.rb` that gets watched by one of these gems. When it gets saved, an instruction gets sent so that the terminal display re-runs the file.
filewatcher "/users/rich/app.rb" "clear; ruby /users/rich/app.rb"
Essentially, "Filewatcher, when this file is changed, run this bash script". For the most part, works like a charm. For some reason it trips on a `require`.
Any other gems out there that qualify?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 53:00:47 |
Calls: | 10,397 |
Calls today: | 5 |
Files: | 14,067 |
Messages: | 6,417,390 |
Posted today: | 1 |