Skip to content

Commit

Permalink
fix(bundling): enable hmr by default for Vite dev-server (#13647)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo committed Dec 5, 2022
1 parent 2c81904 commit 8a74e62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/generated/packages/vite.json
Expand Up @@ -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.",
Expand Down
3 changes: 2 additions & 1 deletion packages/vite/src/executors/dev-server/schema.json
Expand Up @@ -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.",
Expand Down

1 comment on commit 8a74e62

@vercel
Copy link

@vercel vercel bot commented on 8a74e62 Dec 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.