From 7b06fa88abbd66e390f9e7fa3b9e130de6ac8788 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 4 May 2018 08:31:46 +0100 Subject: [PATCH] build(aio): include `navigation.json` changes in docs-watch (#23698) Closes #23582 PR Close #23698 --- aio/tools/transforms/authors-package/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/tools/transforms/authors-package/index.js b/aio/tools/transforms/authors-package/index.js index 31a5b89a7d..6fe25eb86b 100644 --- a/aio/tools/transforms/authors-package/index.js +++ b/aio/tools/transforms/authors-package/index.js @@ -8,7 +8,7 @@ /* eslint no-console: "off" */ function createPackage(changedFile) { - const marketingMatch = /^aio\/content\/marketing\/(.*)/.exec(changedFile); + const marketingMatch = /^aio\/content\/(?:marketing\/|navigation\.json)/.exec(changedFile); if (marketingMatch) { console.log('Building marketing docs'); return require('./marketing-package').createPackage();