-
-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve AbstractScriptFileWatcher initialization order and file handl…
…ing (#3451) * Remove initialImport from the constructor of AbstractScriptFileWatcher - Calling initialImport inside the constructor may cause an NPE in child class. * Refactor processWatchEvent in AbstractScriptFileWatcher - Remove directory deletion handling and adapt test to check for file removals instead. - Include hidden files in deletions in case they were previously loaded while not hidden, set to hidden, and then deleted. Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
- Loading branch information
Showing
2 changed files
with
42 additions
and
56 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