Thanks everyone.I set watchconfigfile = true and finally it can monitor change now. but not immediately.:D
On 11月12日, 下午11時16分, "Brad Stiles" <[EMAIL PROTECTED]> wrote: > > Also, if your config file is under source control and you are actually > > checking in changes to your config and have a project configured to > > pull those changes down from source into your server directory, that > > does not work. > > My config file is in version control (Subversion) and I have a project > in that config file that watches the svn location, and when it changes > it exports the config file to the server directory, and CC.NET > restarts every time the file is valid. I do not export it elsewhere, > then copy it over. > > > Also, If you have introduced errors to your config file > > CruiseControl.NET will fail to load, and keep using the already loaded > > old configuration. > > That is so far the only reason I've see for a change in my config file > to not trigger a restart of CC.NET. > > Perhaps if the original poster could trim his config file down to just > the project that does the update, put that on the server and start it > up, then make a minor change to it, such as adding a comment, it would > give some clue as to why it's not working. > > Brad
