(path: string, type: 'rename' | 'change')
| 128 | }; |
| 129 | |
| 130 | function triggerFileWatch(path: string, type: 'rename' | 'change') { |
| 131 | try { |
| 132 | // @ts-ignore |
| 133 | fs.getFSModule().fileWatcher.triggerWatch(path, type); |
| 134 | } catch (e) { |
| 135 | /* ignore */ |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | async function fetchRemoteModule(url: string): Promise<IRemoteModuleResult> { |
| 140 | try { |
no test coverage detected