Skip to content

Commit

Permalink
trigger full build on exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pfranza committed Nov 1, 2023
1 parent b05f0df commit 98a216f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/net/ftlines/css/scoper/Watcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ && isChildPath(outputRootPath, workingDirPath)
onChange(p);
} catch (Exception e) {
e.printStackTrace();
System.out.println("Exception .. triggering full rebuild");
phase = Phase.REBUILDING;
phaseChangeFunction.accept(phase);
}
}
}
Expand Down

0 comments on commit 98a216f

Please sign in to comment.