Open
Description
To reproduce this issue, run, with roc@next:
$> roc new my-test
? Select a template rocjs/roc-template-web-app-react
ℹ Will use next as default version
✔ Downloading template
? Project name my-test
? Project description A Roc project
? Author Me
? license MIT
? Port 3000
? <title> me's project
✔ Project created
To get started:
cd my-test
npm install
npm run dev
It will open your default browser when ready.
You can change this by setting 'dev.browsersync.options.open' to 'false' in roc.config.js
Then you will have:
$> cat my-test/roc.config.js
module.exports = {
settings: {
runtime: {
applicationName: 'me's project',
port: 3000,
serve: ['public', 'build/client'],
favicon: 'favicon.png',
},
build: {
reducers: 'src/redux/reducers.js',
routes: 'src/routes/index.js',
},
dev: {
browsersync: {
options: {
open: true,
},
},
},
},
};