xiaoyouyu
xiaoyouyu
Why can't set host to hostname now?
Is there a solution?
`var exec = require('child_process').execSync; exec(’webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --useLocalIp‘, { stdio: 'inherit' })`  @evilebottnawi Please, How to kill this process?
> In my case I've solved same issue by next steps: > > Firstly added Windows-specific code to emit `SIGINT` process event. > > ```js > const rl = require('readline');...
> @xiaoyouyu better use `execa` and use something like this: > > ```js > setTimeout(() => { > subprocess.kill('SIGTERM', { > forceKillAfterTimeout: 2000 > }); > }, 1000); > ```...