fix build loop

This commit is contained in:
Cory LaViska
2021-09-07 13:13:18 -04:00
parent bfa1499889
commit 382a39e6ed

View File

@@ -123,7 +123,7 @@ try {
});
// Reload without rebuilding when the docs change
bs.watch(['docs/**/*']).on('change', filename => {
bs.watch(['docs/**/*.md']).on('change', filename => {
console.log(`Docs file changed - ${filename}`);
execSync('node scripts/make-search.js', { stdio: 'inherit' });
bs.reload();