Kaynağa Gözat

for debugging tests-index watcher

Adam Shaw 6 yıl önce
ebeveyn
işleme
ce8d4af0b7
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      scripts/lib/tests-index.js

+ 1 - 0
scripts/lib/tests-index.js

@@ -27,6 +27,7 @@ function watchChanges() {
 
   watcher.on('all', (event, path) => { // TODO: debounce?
     if (path.match(/\.js$/)) {
+      console.log('[test-index] ' + event + ': ' + path)
       _buildTestIndex()
     }
   })