Just in case anyone missed this on GitHub - DaveE :-)
----
reply+i-697969-75bfe0262544902a760202e1b4e7a3f2658be...@reply.github.com
If I have:
- an app in `foo.rb`
- an auxiliary file in `foo/bar.rb`
- a `require "foo/bar"` call in `foo.rb`
...then `bar.rb` doesn't get reloaded when it changes, because—even
though the `mtime` is updated, and `foo.rb` is reloaded—`bar.rb` got
added to `$LOADED_FEATURES` when it was first `require`d, and the
`require "foo/bar"` call thus has no effect.
This patch makes `Camping::Reloader::Script#load_apps` delete all
auxiliary file paths from `$LOADED_FEATURES` before reloading
`foo.rb`, so that they are correctly reloaded.
--
Reply to this email directly or view it on GitHub:
https://github.com/camping/camping/pull/34
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list