We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ceb27f8 + 9de370a commit 7dc48deCopy full SHA for 7dc48de
quartz/build.ts
@@ -125,9 +125,10 @@ async function startWatching(
125
ctx,
126
mut,
127
contentMap,
128
- ignored: (path) => {
129
- if (gitIgnoredMatcher(path)) return true
130
- const pathStr = path.toString()
+ ignored: (fp) => {
+ const pathStr = toPosixPath(fp.toString())
+ if (pathStr.startsWith(".git/")) return true
131
+ if (gitIgnoredMatcher(pathStr)) return true
132
for (const pattern of cfg.configuration.ignorePatterns) {
133
if (minimatch(pathStr, pattern)) {
134
return true
0 commit comments