From 2265e5f52d33e1b0aeae8bb11ec0c989ec8486c9 Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Mon, 5 Dec 2022 15:45:54 -0500 Subject: [PATCH] fix(bundling): enable hmr by default for Vite dev-server --- docs/generated/packages/vite.json | 3 ++- packages/vite/src/executors/dev-server/schema.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/generated/packages/vite.json b/docs/generated/packages/vite.json index 5fdfd535c4021..3891951555ccb 100644 --- a/docs/generated/packages/vite.json +++ b/docs/generated/packages/vite.json @@ -175,7 +175,8 @@ "https": { "type": "boolean", "description": "Serve using HTTPS." }, "hmr": { "description": "Enable hot module replacement. For more options, use the 'hmr' option in the Vite configuration file.", - "type": "boolean" + "type": "boolean", + "default": true }, "open": { "description": "Automatically open the app in the browser on server start. When the value is a string, it will be used as the URL's pathname.", diff --git a/packages/vite/src/executors/dev-server/schema.json b/packages/vite/src/executors/dev-server/schema.json index 0bbc1a9bb1104..1c23bd31fb409 100644 --- a/packages/vite/src/executors/dev-server/schema.json +++ b/packages/vite/src/executors/dev-server/schema.json @@ -46,7 +46,8 @@ }, "hmr": { "description": "Enable hot module replacement. For more options, use the 'hmr' option in the Vite configuration file.", - "type": "boolean" + "type": "boolean", + "default": true }, "open": { "description": "Automatically open the app in the browser on server start. When the value is a string, it will be used as the URL's pathname.",