Open sbinet opened 11 years ago
By "reconfigured" do you mean a "waf [...] configure" command is called?
This is fast enough and idempotent that the someone modifying configuration files can just err on the side of doing a "waf [...] configure" more frequently than may actually be needed.
that, or use the autoconfig
thingy:
https://code.google.com/p/waf/source/browse/waflib/Configure.py#34
(so at least waf
would yell when the project needs to go through a waf configure
cycle)
we need a mechanism to detect orch.cfg files have been modified and thus project needs to probably be reconfigured.
caveats: correctly handling fine-enough a granularity might be tricky (ie: when modifying foo.cfg, only reschedule foo_xyz steps and their clients, but not bar_xyz) this is probably known at some level inside the deconf parser.