Skip to content

Commit

Permalink
Fixes #227466 by disabling hot reload (#228204)
Browse files Browse the repository at this point in the history
  • Loading branch information
hediet authored Sep 11, 2024
1 parent c8d5f8c commit d628049
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/vs/base/common/hotReload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
import { IDisposable } from './lifecycle.js';
import { env } from './process.js';

function hotReloadDisabled() {
return true; // TODO@hediet fix hot reload.
}

export function isHotReloadEnabled(): boolean {
return env && !!env['VSCODE_DEV'];
return !hotReloadDisabled() && env && !!env['VSCODE_DEV'];
}
export function registerHotReloadHandler(handler: HotReloadHandler): IDisposable {
if (!isHotReloadEnabled()) {
Expand Down

0 comments on commit d628049

Please sign in to comment.