We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfda34c commit 27d3940Copy full SHA for 27d3940
lib/commands/run.ts
@@ -40,10 +40,12 @@ export class RunCommandBase implements ICommand {
40
this.liveSyncCommandHelperAdditionalOptions
41
);
42
43
- this.$keyCommandHelper.attachKeyCommands(
44
- this.platform as IKeyCommandPlatform,
45
- "run"
46
- );
+ if (process.env.NS_IS_INTERACTIVE) {
+ this.$keyCommandHelper.attachKeyCommands(
+ this.platform as IKeyCommandPlatform,
+ "run"
47
+ );
48
+ }
49
}
50
51
public async canExecute(args: string[]): Promise<boolean> {
lib/services/start-service.ts
@@ -45,6 +45,7 @@ export default class StartService implements IStartService {
env: {
FORCE_COLOR: 1,
HIDE_HEADER: true,
+ NS_IS_INTERACTIVE: true,
...process.env,
},
0 commit comments