K
Kevin Watt
Hi Rubyers
Does ruby keep a list of require'd files anywhere? I'd like to make a
method that will loop over them, check the last modification time to see
if they've, and reload them if they have.
One of the frustrating things about rails is that running it as a CGI to
have it auto-reload your changes can take 5-11 seconds to render a page
(at least on windows) - which makes testing a pain. I'm hoping to make
the ruby equilavant of Apache::StatINC in perl, but aren't sure of where
to begin, or if this has already been done before.
Thanks,
Kevin
Allpoetry.com Community Manager
Does ruby keep a list of require'd files anywhere? I'd like to make a
method that will loop over them, check the last modification time to see
if they've, and reload them if they have.
One of the frustrating things about rails is that running it as a CGI to
have it auto-reload your changes can take 5-11 seconds to render a page
(at least on windows) - which makes testing a pain. I'm hoping to make
the ruby equilavant of Apache::StatINC in perl, but aren't sure of where
to begin, or if this has already been done before.
Thanks,
Kevin
Allpoetry.com Community Manager