@@ -2,7 +2,6 @@ import { red } from 'ansis';
22import { spawn } from 'child_process' ;
33import * as fs from 'fs' ;
44import { join } from 'path' ;
5- import { platform } from 'os' ;
65import { Input } from '../commands' ;
76import { getTscConfigPath } from '../lib/compiler/helpers/get-tsc-config.path' ;
87import { getValueOrDefault } from '../lib/compiler/helpers/get-value-or-default' ;
@@ -12,8 +11,8 @@ import {
1211} from '../lib/configuration/defaults' ;
1312import { ERROR_PREFIX } from '../lib/ui' ;
1413import { treeKillSync as killProcessSync } from '../lib/utils/tree-kill' ;
15- import { BuildAction } from './build.action' ;
1614import { assertNonArray } from '../lib/utils/type-assertions' ;
15+ import { BuildAction } from './build.action' ;
1716
1817export class StartAction extends BuildAction {
1918 public async handle ( commandInputs : Input [ ] , commandOptions : Input [ ] ) {
@@ -79,8 +78,7 @@ export class StartAction extends BuildAction {
7978 const shellOption = commandOptions . find (
8079 ( option ) => option . name === 'shell' ,
8180 ) ;
82- const isWindows = platform ( ) === 'win32' ;
83- const useShell = shellOption ?. value !== false && isWindows ;
81+ const useShell = ! ! shellOption ?. value ;
8482
8583 const envFileOption = commandOptions . find (
8684 ( option ) => option . name === 'envFile' ,
0 commit comments