- Also watch conf/web.xml.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Sep 2006 09:38:35 +0000 (09:38 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 29 Sep 2006 09:38:35 +0000 (09:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@451198 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/startup/ContextConfig.java

index f9ec106..f9145bb 100644 (file)
@@ -616,6 +616,7 @@ public class ContextConfig
                 source =
                     new InputSource("file://" + file.getAbsolutePath());
                 stream = new FileInputStream(file);
+                context.addWatchedResource(file.getAbsolutePath());
             }
         } catch (Exception e) {
             log.error(sm.getString("contextConfig.defaultMissing")