diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 6121569..fea918a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -39,6 +39,31 @@ "echo": true, "close": true } + }, + { + "label": "regolith: watch preview", + "type": "shell", + "command": "regolith watch preview", + "isBackground": true, + "problemMatcher": { + "pattern": [ + { + "regexp": ".", + "file": 1, + "location": 2, + "message": 3 + } + ], + "background": { + "activeOnStart": true, + "beginsPattern": ".", + "endsPattern": "." + } + }, + "presentation": { + "echo": true, + "close": true + } } ] } \ No newline at end of file diff --git a/config.json b/config.json index 69a4ea8..efbb358 100644 --- a/config.json +++ b/config.json @@ -20,6 +20,16 @@ "bpName": "project.name+'[BP]'" }, "filters": [] + }, + "preview": { + "export": { + "build": "preview", + "readOnly": false, + "target": "development", + "rpName": "project.name+'[RP]'", + "bpName": "project.name+'[BP]'" + }, + "filters": [] } } }