mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
After npm install gulp extension should find tasks (#62129)
Fixes #61499
This commit is contained in:
parent
975351e639
commit
c686a15384
|
@ -82,7 +82,7 @@ class FolderDetector {
|
|||
}
|
||||
|
||||
public start(): void {
|
||||
let pattern = path.join(this._workspaceFolder.uri.fsPath, 'gulpfile{.babel.js,.js,.ts}');
|
||||
let pattern = path.join(this._workspaceFolder.uri.fsPath, '{node_modules,gulpfile{.babel.js,.js,.ts}}');
|
||||
this.fileWatcher = vscode.workspace.createFileSystemWatcher(pattern);
|
||||
this.fileWatcher.onDidChange(() => this.promise = undefined);
|
||||
this.fileWatcher.onDidCreate(() => this.promise = undefined);
|
||||
|
|
Loading…
Reference in a new issue