Skip to content

Commit

Permalink
udate contentprovider-sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed May 31, 2018
1 parent 6eac0c4 commit 2e3e055
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
8 changes: 5 additions & 3 deletions contentprovider-sample/.vscode/launch.json
Expand Up @@ -11,8 +11,10 @@
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/**/*.js"],
"preLaunchTask": "npm"
"outFiles": [
"${workspaceRoot}/out/**/*.js"
],
"preLaunchTask": "npm: watch"
}
]
}
}
40 changes: 19 additions & 21 deletions contentprovider-sample/.vscode/tasks.json
@@ -1,22 +1,20 @@
// A task runner that calls a custom npm script that compiles the extension.
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "0.1.0",

// we want to run npm
"command": "npm",

// the command is a shell script
"isShellCommand": true,

// show the output window only if unrecognized errors occur.
"showOutput": "silent",

// we run the custom script "compile" as defined in package.json
"args": ["run", "compile"],

// The tsc compiler is started in watching mode
"isWatching": true,

// use the standard tsc in watch mode problem matcher to find compile problems in the output.
"problemMatcher": "$tsc-watch"
}
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
2 changes: 1 addition & 1 deletion contentprovider-sample/package.json
Expand Up @@ -58,7 +58,7 @@
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
Expand Down

0 comments on commit 2e3e055

Please sign in to comment.