From 361a9fa118db7d7d7f325fbc1e2454c96a149c97 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()) }