summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* packagingJesse Luehrs2014-02-251-7/+6
|
* handle new moose behavior a bit better (fixes #3)Jesse Luehrs2014-02-251-0/+42
| | | | | | | | new moose sets %INC for autogenerated classes, so we have to do a better job at skipping those now (since actually trying to reload them isn't going to work). also added a warning for when this happens, since it's quite possibly actually doing something wrong (it was just doing it wrong silently before).
* Do not die if last require failedamacleay2014-01-071-1/+10
|
* add documentationJesse Luehrs2013-06-251-0/+22
|
* allow optionally installing a require hook to track module loadsJesse Luehrs2013-06-251-0/+24
| | | | | | this will be more accurate about when to reload things, but uses a require hook, which may cause issues with other modules that hook require in an incorrect way
* nope, don't want to do thisJesse Luehrs2013-06-251-6/+0
| | | | | | | | | | | | | this meant that modules that we hadn't seen before were always assumed to have changed, which can cause arbitrary (and possibly dangerous) modules to be reloaded. this can happen when you call ->refresh, then load a module, then call ->refresh again. in this case, there's no way to tell if the module has been modified since it was loaded, which means that we have to assume one way or the other. assuming that it hasn't can cause changes to be missed when ->refresh is called, but assuming that it has can cause modules (such as Moose) to be reloaded when we really can't support it.
* fix refreshing a module first loaded after the first refresh callJesse Luehrs2013-06-211-0/+6
|
* packaging stuffJesse Luehrs2013-06-211-8/+8
|
* no, i think ->refresh should die if there were compile errorsJesse Luehrs2013-06-211-4/+4
|
* Wrap load_class in a try { } block.Michael Reddick2013-06-201-3/+16
| | | | | | This fixes the case where a module was loaded then attempted to be loaded but with a failure. Previously it wouldn't refresh itself anymore.
* handle more weirdly named files that get loaded0.01Jesse Luehrs2011-04-061-1/+1
|
* docsJesse Luehrs2011-04-061-0/+170
|
* whoops, wrong variable hereJesse Luehrs2011-04-051-1/+1
|
* don't try to reload modules that don't correspond to filesJesse Luehrs2011-04-051-1/+2
|
* modified_modules should return module names, not file namesJesse Luehrs2011-04-051-1/+1
|
* handle modules without metaclasses tooJesse Luehrs2011-04-051-0/+2
|
* initial implementationJesse Luehrs2011-04-051-0/+154
|
* initial commitJesse Luehrs2011-04-051-0/+0