From 2093682cadad39bd2337a8926796d2e0f3d8ab7f Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 8 Feb 2023 13:07:44 +0100 Subject: [PATCH] move listener --- libs/remix-core-plugin/src/lib/compiler-content-imports.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/remix-core-plugin/src/lib/compiler-content-imports.ts b/libs/remix-core-plugin/src/lib/compiler-content-imports.ts index 30d31e054f..85c811ef91 100644 --- a/libs/remix-core-plugin/src/lib/compiler-content-imports.ts +++ b/libs/remix-core-plugin/src/lib/compiler-content-imports.ts @@ -44,6 +44,10 @@ export class CompilerImports extends Plugin { return {} } }) + + } + + onActivation(): void { this.on('filePanel', 'setWorkspace', () => this.urlResolver.clearCache()) }