mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-26 12:15:26 +00:00
Fix vscode.sh
This commit is contained in:
parent
65690fca65
commit
3a2644a2bc
@ -13,7 +13,13 @@ main() {
|
||||
yarn vscode:patch &> /dev/null || true
|
||||
|
||||
# Install VS Code dependencies.
|
||||
(cd lib/vscode && yarn)
|
||||
# The second yarn is required as for whatever reason, we get
|
||||
# NODE_MODULE_VERSION mismatch errors without it.
|
||||
(
|
||||
cd lib/vscode
|
||||
yarn
|
||||
yarn --ignore-scripts
|
||||
)
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
@ -12,9 +12,6 @@ yarn watch # Visit http://localhost:8080 once completed.
|
||||
|
||||
Any changes made to the source will be live reloaded.
|
||||
|
||||
If you run into issues about a different version of Node being used, try running
|
||||
`npm rebuild` in the VS Code directory.
|
||||
|
||||
If changes are made to the patch and you've built previously you must manually
|
||||
reset VS Code then run `yarn vscode:patch`.
|
||||
|
||||
|
@ -35,6 +35,7 @@ export interface Args extends VsArgs {
|
||||
readonly "list-extensions"?: boolean
|
||||
readonly "install-extension"?: string[]
|
||||
readonly "uninstall-extension"?: string[]
|
||||
readonly locale?: string
|
||||
readonly _: string[]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user