每次在VSCode编译javascript脚本,总会卡在这上面。
有没有人有解决办法呢。
在命令行工具中 curl 是可以的,会显示Changes submitted。
vscode工具流中的0.1.0版本目前已经不能使用了。下面是我的编译任务.
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
“version”: “2.0.0”,
“tasks”: [
{
“label”: “compile”,
“command”: “curl”,
“args”: [“http://localhost:7456/update-db”],
“type”: “shell”,
“isBackground”: true,
“presentation”:{
“echo”: true,
“reveal”: “always”,
“focus”: false,
“panel”: “shared”,
“showReuseMessage”: true
}
}
]
}
