Skip to content

Commit 71e4896

Browse files
committed
fix: avoid glob false positives in watch files
1 parent 3e0cad1 commit 71e4896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/server/watchFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function prepareWatchOptions(
111111
};
112112
}
113113

114-
const GLOB_REGEX = /[*?{}[\]()!@+|]/;
114+
const GLOB_REGEX = /[*?{}[\]()!+|]/;
115115
/**
116116
* A simple glob pattern checker.
117117
* This can help us to avoid unnecessary tinyglobby import and call.

0 commit comments

Comments
 (0)