Forum OpenACS Development: Re: acs-automated-testing requires watching?!

Collapse
Posted by Randy O'Meara on
Tammy,

A quick trick to get your package files watched automatically (even after service restart) while you're developing. Put this in your *-init.tcl file in your <package_key>/tcl directory.

apm_watch_all_files <package_key>

OR

foreach package_key $package_key_list {
    apm_watch_all_files $package_key
}

Randy

P.S. Peter gets credit for pointing this out to me.

Collapse
Posted by tammy m on
Ooh,

Very sneaky. I love it. Thanks Randy.