Skip to content

Commit

Permalink
Fix up hot reload/restart for web apps
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTup committed Nov 21, 2019
1 parent f1b376e commit a64b86b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/extension/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
Expand Down

0 comments on commit a64b86b

Please sign in to comment.