{
"version": "2.0.0",
"tasks": [
{
"label": "browser-sync",
"type": "shell",
"command": "npx",
"args": [
"browser-sync",
"start",
"--proxy",
"http://localhost:1338",
"--ws",
"--serveStatic",
"${workspaceFolder}/api/src/webServer/ui",
"--files",
"${workspaceFolder}/api/src/webServer/ui/**/*.{html,css,js,png,jpg,svg}",
"--port",
"3000",
"--ui-port",
"3002",
"--no-open",
"--logLevel",
"debug",
"--watchOptions.usePolling=true",
"--watchOptions.interval=200",
"--watchOptions.binaryInterval=300"
],
"options": {
"cwd": "${workspaceFolder}",
"env": {
"CHOKIDAR_USEPOLLING": "1"
}
},
"isBackground": true,
"problemMatcher": {
"owner": "browser-sync",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": [
{
// No-op: includes file, line, message groups so VS Code is satisfied,
// but the lookahead prevents any match.
"regexp": "^(?=a)b(.*?)(?::(\\d+))?\\s+(.*)$",
"file": 1,
"line": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "^\\[Browsersync\\] \\[debug\\] -> Starting Step: Setting file watchers$",
"endsPattern": "^\\[Browsersync\\] Access URLs:$|^\\[Browsersync\\] UI:\\shttp://.*:3002$|^\\[Browsersync\\] Local:\\shttp://.*:3000$|^\\[Browsersync\\] Watching files"
}
}
}
]
}