Add no-browser setting to start react dev server

This commit is contained in:
Zak Patterson 2020-08-12 22:47:01 -05:00
parent 147847f729
commit 22bcf3ac5a

View File

@ -30,7 +30,7 @@ const reactjs: Recipe = {
...cfg,
distDir: `../${uiAppDir}/build`,
devPath: 'http://localhost:3000',
beforeDevCommand: `yarn --cwd ${uiAppDir} start`,
beforeDevCommand: `BROWSER=none yarn --cwd ${uiAppDir} start`,
beforeBuildCommand: `yarn --cwd ${uiAppDir} build`
}),
extraNpmDevDependencies: ['create-react-app'],