chore(webpack): spawn process with yarn instead of npm

This commit is contained in:
Rui Saraiva 2020-07-25 14:15:31 +01:00
parent 2e85548bad
commit 8a06edb0e7

View file

@ -260,7 +260,7 @@ export default merge.smart(baseConfig, {
before() {
if (process.env.START_HOT) {
console.log('Starting Main Process...');
spawn('npm', ['run', 'start-main-dev'], {
spawn('yarn', ['start-main-dev'], {
shell: true,
env: process.env,
stdio: 'inherit',