Merge pull request #2817 from michael-genson/chore/fix-nuxt-hot-reload

fix: Dev Settings and Nuxt Hot Reload
This commit is contained in:
boc-the-git 2023-12-11 14:42:44 +11:00 committed by GitHub
commit 2ca21d3bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -41,7 +41,8 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
3000,
9000
9000,
24678 // used by nuxt when hot-reloading using polling
],
// Use 'onCreateCommand' to run commands at the end of container creation.
// Use 'postCreateCommand' to run commands after the container is created.

View File

@ -14,8 +14,8 @@
"webp"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.organizeImports": false
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
"editor.formatOnSave": true,
"eslint.workingDirectories": [