()
| 61 | return directories; |
| 62 | } |
| 63 | |
| 64 | function scheduleRescan() { |
| 65 | if (rescanTimer) { |
| 66 | return; |
| 67 | } |
| 68 | |
| 69 | rescanTimer = setTimeout(() => { |
| 70 | rescanTimer = null; |
| 71 | syncWatchers(); |
| 72 | }, 100); |
| 73 | } |
| 74 | |
| 75 | function scheduleRestart(changedPath) { |
no test coverage detected