-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only send reload signal when necessary (#47)
Currently, we send multiple reload signals to the NATS server when we detect any file changes within a watched directory. This causes unnecessary logging and reloading. This change only sends a signal if a file we're interested in has changed. It ignores other file changes within the same directory. In addition, we no longer log for every event, of which there can be many, not all of them useful.
- Loading branch information
Showing
2 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters