{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "server",
            "type": "process",
            "command": "hugo",
            "args": [
                "server"
            ],
            "isBackground": true,
            "problemMatcher": {
				"severity": "error",
				"fileLocation": "absolute",
				"owner": "hugo",
				"pattern": {
					"regexp": "template: (.*):(\\d+): (.*)",
					"file": 1,
					"location": 2,
					"message": 3,
					"loop": true
				},
				"background": {
					"activeOnStart": true,
					"beginsPattern": "Change detected, rebuilding site",
					"endsPattern": "Total in \\d+ ms"
				}
            },
            "group": {
                "kind": "test",
                "isDefault": true
            }
        }
    ]
}