From a64b86b0f709ae4c0fbb135ce499252dd4c865a4 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Thu, 21 Nov 2019 11:28:43 +0000 Subject: [PATCH] Fix up hot reload/restart for web apps --- src/extension/extension.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/extension/extension.ts b/src/extension/extension.ts index eeff18181..b1e6e121a 100644 --- a/src/extension/extension.ts +++ b/src/extension/extension.ts @@ -384,9 +384,7 @@ export async function activate(context: vs.ExtensionContext, isRestart: boolean const debugCommands = new DebugCommands(logger, extContext, workspaceContext, analytics, pubGlobal); // Wire up handling of Hot Reload on Save. - if (workspaceContext.hasAnyFlutterProjects) { - context.subscriptions.push(new HotReloadOnSaveHandler(debugCommands)); - } + context.subscriptions.push(new HotReloadOnSaveHandler(debugCommands)); // Register URI handler. context.subscriptions.push(vs.window.registerUriHandler(new DartUriHandler(flutterCapabilities)));