set up regolith watch when debugging
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
.DS_Store
|
||||
.vscode/
|
||||
/build
|
||||
/.regolith
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"version": "0.3.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "minecraft-js",
|
||||
"request": "attach",
|
||||
"name": "Debug with Minecraft",
|
||||
"mode": "listen",
|
||||
"targetModuleUuid": "8bb9a1e4-0531-4b93-8ade-3880bfe1e2fc",
|
||||
"localRoot": "${workspaceFolder}/packs/BP/scripts",
|
||||
"port": 19144,
|
||||
"preLaunchTask": "regolith: watch"
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+44
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "regolith: run",
|
||||
"type": "shell",
|
||||
"command": "regolith run",
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"close": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "regolith: watch",
|
||||
"type": "shell",
|
||||
"command": "regolith watch",
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": ".",
|
||||
"file": 1,
|
||||
"location": 2,
|
||||
"message": 3
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": ".",
|
||||
"endsPattern": "."
|
||||
}
|
||||
},
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"close": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user