Browse Source

hack to stop watch-build crash

Gregg Tavares 6 years ago
parent
commit
d834ee6468
1 changed files with 3 additions and 1 deletions
  1. 3 1
      build/js/build.js

+ 3 - 1
build/js/build.js

@@ -550,7 +550,9 @@ const Builder = function(outBaseDir, options) {
       }</ul>`;
       }</ul>`;
     }
     }
 
 
-    g_langInfo.tocHtml = makeToc(toc);
+    if (!hackyProcessSelectFiles) {
+      g_langInfo.tocHtml = makeToc(toc);
+    }
 
 
     files.forEach(function(fileName) {
     files.forEach(function(fileName) {
       const ext = path.extname(fileName);
       const ext = path.extname(fileName);