同意我在.vscode/tasks.json中完成了這一切,它對我來說都可以正常工作。我不得不重新啓動,因爲在升級過程中我失去了咕嚕聲。
// A task runner configuration.
{
"version": "0.1.0",
"command": "grunt",
"isShellCommand": true,
"tasks": [
{
"taskName": "build",
// Make this the default build command.
"isBuildCommand": true,
// Show the output window only if unrecognized errors occur.
"showOutput": "silent"
// Use the standard less compilation problem matcher.
/* "problemMatcher": "$lessCompile" */
},
{
"taskName": "test",
// Make this the default build command.
"isBuildCommand": false,
// Show the output window only if unrecognized errors occur.
"showOutput": "always"
// Use the standard less compilation problem matcher.
/* "problemMatcher": "$lessCompile" */
},
{
"taskName": "localhost",
// Make this the default build command.
"isBuildCommand": false,
// Show the output window only if unrecognized errors occur.
"showOutput": "always"
// Use the standard less compilation problem matcher.
/* "problemMatcher": "$lessCompile" */
}
]
}
來源
2015-09-11 23:35:00
Ken