mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
Fixes #11482: Autodetecting gulpfile.ts tasks
This commit is contained in:
parent
3c3395c685
commit
3a0fb3a97c
|
@ -83,7 +83,7 @@ class FolderDetector {
|
||||||
}
|
}
|
||||||
|
|
||||||
public start(): void {
|
public start(): void {
|
||||||
let pattern = path.join(this._workspaceFolder.uri.fsPath, 'gulpfile{.babel.js,.js}');
|
let pattern = path.join(this._workspaceFolder.uri.fsPath, 'gulpfile{.babel.js,.js,.ts}');
|
||||||
this.fileWatcher = vscode.workspace.createFileSystemWatcher(pattern);
|
this.fileWatcher = vscode.workspace.createFileSystemWatcher(pattern);
|
||||||
this.fileWatcher.onDidChange(() => this.promise = undefined);
|
this.fileWatcher.onDidChange(() => this.promise = undefined);
|
||||||
this.fileWatcher.onDidCreate(() => this.promise = undefined);
|
this.fileWatcher.onDidCreate(() => this.promise = undefined);
|
||||||
|
|
Loading…
Reference in a new issue