Skip to content

Commit c686a15

Browse files
authored
After npm install gulp extension should find tasks (microsoft#62129)
Fixes microsoft#61499
1 parent 975351e commit c686a15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/gulp/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class FolderDetector {
8282
}
8383

8484
public start(): void {
85-
let pattern = path.join(this._workspaceFolder.uri.fsPath, 'gulpfile{.babel.js,.js,.ts}');
85+
let pattern = path.join(this._workspaceFolder.uri.fsPath, '{node_modules,gulpfile{.babel.js,.js,.ts}}');
8686
this.fileWatcher = vscode.workspace.createFileSystemWatcher(pattern);
8787
this.fileWatcher.onDidChange(() => this.promise = undefined);
8888
this.fileWatcher.onDidCreate(() => this.promise = undefined);

0 commit comments

Comments
 (0)