Hi,
Git cloned the sage repo to my bedrock installation.
- used yarn command to install needed node_modules
- Modified resourses/assets/config.json to update these two lines:
“publicPath”: “/app/themes/newtheme”,
“devUrl”: “http://newtheme.dev”, - In terminal run command yarn run start and this is shown in terminal:
⇒ yarn run start
yarn run v0.23.2
$ webpack --hide-modules --watch --config resources/assets/build/webpack.config.js
Webpack is watching the files…
[BS] [HTML Injector] Running…
[BS] Proxying: http://newtheme.dev
[BS] Access URLs:
Local: http://localhost:3000
External: http://192.168.1.35:3000
UI: http://localhost:3001
UI External: http://192.168.1.35:3001
[BS] Watching files…
Now when I’m modifing anything in resources/assets/, nothing happens. I guess it should check for changes and build new css/js to dist-folder?
My env is macOS el capitan 10.11.6
node v6.10.2
npm v4.5.0
Any idea what I’m doing wrong or missing? Thanks!
yarn run build seem to work nicely…