Hi guys,
I’m new here. I just set up Trellis, Bedrock and now trying to set up Sage.
I ran the composer command to set up my new theme in the themes directory:
composer create-project roots/sage mytheme dev-master
cd mytheme
yarn && yarn build
This all ran with no problems.
However, when I run yarn start, localhost:3000 opens up in my browser but just remains blank and keeps trying to load.
I’m able to access the Browsersync UI by going to localhost:3001 with no problem but cannot see anything on localhost:3000.
Also when I make any changes to scss or php files, there is no indication that it has picked up the changes.
My config.json file looks like this:
{
"entry": {
"main": [
"./scripts/main.js",
"./styles/main.scss"
],
"customizer": [
"./scripts/customizer.js"
]
},
"publicPath": "/app/themes/mytheme",
"devUrl": "http://testsite.dev",
"proxyUrl": "http://localhost:3000",
"cacheBusting": "[name]_[hash:8]",
"watch": [
"app/**/*.php",
"config/**/*.php",
"resources/controllers/**/*.php",
"resources/views/**/*.php"
]
}
Going directly to http://testsite.dev works file and shows my wordpress site. But localhost:3000 just doesn’t load.
Any advice would be appreciated! Thanks guys