Skip to content

Commit

Permalink
More
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Kurz <[email protected]>
  • Loading branch information
scottkurz committed Aug 14, 2023
1 parent 001d962 commit 2c121ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ public boolean recompileBuildFile(File buildFile, Set<String> compileArtifactPat
Set<Path> oldMonitoredWebResourceDirs = new HashSet<Path>(this.monitoredWebResourceDirs);
Set<Path> newMonitoredWebResourceDirs = new HashSet<Path>(LooseWarApplication.getWebSourceDirectoriesToMonitor(project));
if (!oldMonitoredWebResourceDirs.equals(newMonitoredWebResourceDirs)) {
getLog().warn("Change detected in the set of filtered web resource directories. Adding/deleting such a directory has no change on the set of directories monitored by dev mode. Changing the watch list will require a dev mode restart");
getLog().warn("Change detected in the set of filtered web resource directories, since dev mode was first launched. Adding/deleting a web resource directory has no change on the set of directories monitored by dev mode. Changing the watch list will require a dev mode restart");
}

// convert to Path, which seems to offer more reliable cross-platform, relative path comparison, then compare
Expand All @@ -992,7 +992,7 @@ public boolean recompileBuildFile(File buildFile, Set<String> compileArtifactPat
Set<Path> newResourceDirs = new HashSet<Path>();
project.getResources().forEach(r -> newResourceDirs.add(Paths.get(r.getDirectory())));
if (!oldResourceDirs.equals(newResourceDirs)) {
getLog().warn("Change detected in the set of resource directories. Adding/deleting such a directory has no change on the set of directories monitored by dev mode. Changing the watch list will require a dev mode restart");
getLog().warn("Change detected in the set of resource directories, since dev mode was first launched. Adding/deleting a resource directory has no change on the set of directories monitored by dev mode. Changing the watch list will require a dev mode restart");
}

if (restartServer) {
Expand Down

0 comments on commit 2c121ac

Please sign in to comment.