File tree 2 files changed +11
-2
lines changed
packages/gatsby-dev-cli/src
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,9 @@ const monoRepoPackages = [
262
262
`gatsby-source-shopify` ,
263
263
`gatsby-source-wikipedia` ,
264
264
`gatsby-source-wordpress` ,
265
+ `gatsby-theme-blog` ,
266
+ `gatsby-theme-blog-core` ,
267
+ `gatsby-theme-notes` ,
265
268
`gatsby-telemetry` ,
266
269
`gatsby-transformer-asciidoc` ,
267
270
`gatsby-transformer-csv` ,
@@ -312,7 +315,7 @@ jest.mock(`../utils/promisified-spawn`, () => {
312
315
}
313
316
} )
314
317
315
- describe ( `dependency changs ` , ( ) => {
318
+ describe ( `dependency changes ` , ( ) => {
316
319
const { publishPackage } = require ( `../local-npm-registry/publish-package` )
317
320
const { installPackages } = require ( `../local-npm-registry/install-packages` )
318
321
const { checkDepsChanges } = require ( `../utils/check-deps-changes` )
Original file line number Diff line number Diff line change @@ -151,6 +151,10 @@ async function watch(
151
151
return
152
152
}
153
153
154
+ const allPackagesIgnoringThemesToWatch = allPackagesToWatch . filter (
155
+ pkgName => ! pkgName . startsWith ( `gatsby-theme` )
156
+ )
157
+
154
158
const ignored = [
155
159
/ [ / \\ ] n o d e _ m o d u l e s [ / \\ ] / i,
156
160
/ \. g i t / i,
@@ -159,7 +163,9 @@ async function watch(
159
163
/ [ / \\ ] _ _ m o c k s _ _ [ / \\ ] / i,
160
164
/ \. n p m r c / i,
161
165
] . concat (
162
- allPackagesToWatch . map ( p => new RegExp ( `${ p } [\\/\\\\]src[\\/\\\\]` , `i` ) )
166
+ allPackagesIgnoringThemesToWatch . map (
167
+ p => new RegExp ( `${ p } [\\/\\\\]src[\\/\\\\]` , `i` )
168
+ )
163
169
)
164
170
const watchers = _ . uniq (
165
171
allPackagesToWatch
You can’t perform that action at this time.
0 commit comments