Add bootstrapPropertiesFile to be watched
@@ -752,7 +752,7 @@ public class DevMojo extends StartDebugMojoSupport {
// which is where the server.xml is located if a specific serverXmlFile
// configuration parameter is not specified.
try {
- util.watchFiles(pom, outputDirectory, testOutputDirectory, executor, artifactPaths, serverXmlFile);
+ util.watchFiles(pom, outputDirectory, testOutputDirectory, executor, artifactPaths, serverXmlFile, bootstrapPropertiesFile);
} catch (PluginScenarioException e) {
if (e.getMessage() != null) {
// a proper message is included in the exception if the server has been stopped by another process
