Adds monaco editor playground launch config & http server

This commit is contained in:
Henning Dieterichs
2023-02-10 19:18:47 +01:00
parent 3708125b66
commit f4b345578d
4 changed files with 172 additions and 6 deletions

19
.vscode/tasks.json vendored
View File

@@ -255,6 +255,25 @@
"group": "build",
"label": "npm: tsec-compile-check",
"detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit"
},
{
// Used for monaco editor playground launch config
"label": "Launch Http Server",
"type": "shell",
"command": "node_modules/.bin/http-server --cors --port 5001 -a 127.0.0.1 -s -c-1",
"isBackground": true,
"problemMatcher": {
"pattern": {
"regexp": ""
},
"background": {
"beginsPattern": ".*",
"endsPattern": ".*"
}
},
"dependsOn": [
"Core - Build"
]
}
]
}