Skip to content

Commit

Permalink
fix build loop
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Sep 7, 2021
1 parent bfa1499 commit 382a39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 382a39e

Please sign in to comment.