mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
After npm install gulp extension should find tasks (#62129)
Fixes #61499
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user