-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enables hot reload #413
Enables hot reload #413
Conversation
- usage of async / await - improved readability of the code - console.error instead of console.log
Not all changes of the icons configuration do require a reload of the whole editor anymore.
icons/folder-root-open.svg | ||
|
||
src/scripts/preview/*.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put a new‑line at the end of the file?
"outFiles": [ | ||
"${workspaceFolder}/out/test/**/*.js" | ||
], | ||
"preLaunchTask": "npm: build" | ||
"preLaunchTask": "npm: test-compile" | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
yarn.lock | ||
webpack.config.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
"include": [ | ||
"src/**/*.ts", | ||
"./node_modules/vscode/vscode.d.ts", | ||
"./node_modules/vscode/lib/*", | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
} | ||
}; | ||
|
||
module.exports = config; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Enables hot reload for some configurations of this extension. That means that a change of these configurations does not require a reload of the whole editor anymore. The changes will be visible immediately.
Hot reload will be possible for the following configurations:
Closes #249.