-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(file-list): always use file from first matcher
If a file is matched by multiple patterns, only the file from the first pattern should be used. This fixes issues that occurr when the same file appears in multiple buckets. One such issue is that the watcher reruns the preprocessors on the first occurrence of the file but the second version of the file is the one being included in the context. This results in the browser not requesting the updated version of the file after the watch fires.
- Loading branch information
1 parent
bcfac8a
commit 74bfdf3
Showing
3 changed files
with
49 additions
and
9 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
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