mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00:00
Reload grunt and jake tasks after npm install
This commit is contained in:
parent
c686a15384
commit
d119e01a8f
|
@ -81,7 +81,7 @@ class FolderDetector {
|
||||||
}
|
}
|
||||||
|
|
||||||
public start(): void {
|
public start(): void {
|
||||||
let pattern = path.join(this._workspaceFolder.uri.fsPath, '[Gg]runtfile.js');
|
let pattern = path.join(this._workspaceFolder.uri.fsPath, '{node_modules,[Gg]runtfile.js}');
|
||||||
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);
|
||||||
|
|
|
@ -81,7 +81,7 @@ class FolderDetector {
|
||||||
}
|
}
|
||||||
|
|
||||||
public start(): void {
|
public start(): void {
|
||||||
let pattern = path.join(this._workspaceFolder.uri.fsPath, '{Jakefile,Jakefile.js}');
|
let pattern = path.join(this._workspaceFolder.uri.fsPath, '{node_modules,Jakefile,Jakefile.js}');
|
||||||
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