(fileName: string)
| 158 | return {close, ready: (cb) => readyPromise.then(cb), firstCompileResult}; |
| 159 | |
| 160 | function cacheEntry(fileName: string): CacheEntry { |
| 161 | fileName = path.normalize(fileName); |
| 162 | let entry = fileCache.get(fileName); |
| 163 | if (!entry) { |
| 164 | entry = {}; |
| 165 | fileCache.set(fileName, entry); |
| 166 | } |
| 167 | return entry; |
| 168 | } |
| 169 | |
| 170 | function close() { |
| 171 | fileWatcher.close(); |
no test coverage detected
searching dependent graphs…