Skip to content

Commit

Permalink
fix: notify if config file was deleted (#201)
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Dietisheim <[email protected]>
  • Loading branch information
adietish committed Nov 14, 2023
1 parent 03e9f24 commit 02ecc7f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ public ConfigWatcher(Path config, Listener listener) {
@Override
public void run() {
runOnConfigChange((Config config) -> {
if (config != null) {
listener.onUpdate(this, config);
}
listener.onUpdate(this, config);
});
}

Expand Down

0 comments on commit 02ecc7f

Please sign in to comment.