build(aio): include `navigation.json` changes in docs-watch (#23698)
Closes #23582 PR Close #23698
This commit is contained in:
parent
a800ccd922
commit
61170856ee
|
@ -8,7 +8,7 @@
|
||||||
/* eslint no-console: "off" */
|
/* eslint no-console: "off" */
|
||||||
|
|
||||||
function createPackage(changedFile) {
|
function createPackage(changedFile) {
|
||||||
const marketingMatch = /^aio\/content\/marketing\/(.*)/.exec(changedFile);
|
const marketingMatch = /^aio\/content\/(?:marketing\/|navigation\.json)/.exec(changedFile);
|
||||||
if (marketingMatch) {
|
if (marketingMatch) {
|
||||||
console.log('Building marketing docs');
|
console.log('Building marketing docs');
|
||||||
return require('./marketing-package').createPackage();
|
return require('./marketing-package').createPackage();
|
||||||
|
|
Loading…
Reference in New Issue