新增cd命令
This commit is contained in:
parent
ec114eeaaa
commit
b230afa765
|
|
@ -104,6 +104,8 @@ export function createFileWatcher(context: vscode.ExtensionContext) {
|
||||||
// 执行npm run make:domain命令
|
// 执行npm run make:domain命令
|
||||||
const terminal =
|
const terminal =
|
||||||
vscode.window.createTerminal('Make Domain');
|
vscode.window.createTerminal('Make Domain');
|
||||||
|
const projectPath = pathConfig.projectHome;
|
||||||
|
terminal.sendText(`cd ${projectPath}`);
|
||||||
terminal.sendText('npm run make:domain');
|
terminal.sendText('npm run make:domain');
|
||||||
terminal.show();
|
terminal.show();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue