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

Closes 

PR Close 
This commit is contained in:
Pete Bacon Darwin 2018-05-04 08:31:46 +01:00 committed by Igor Minar
parent a800ccd922
commit 61170856ee

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