build(aio): include `navigation.json` changes in docs-watch (#23698)

Closes #23582

PR Close #23698
This commit is contained in:
Pete Bacon Darwin 2018-05-04 08:31:46 +01:00 committed by Igor Minar
parent a800ccd922
commit 61170856ee
1 changed files with 1 additions and 1 deletions

View File

@ -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();