Roots Discourse

Theme assets loading on localhost:3000 but not on the wordpress instance?

gulp
sage8

#1

I’ve copied my fonts to dist via bower.json, while everything works when I run it on localhost:3000 (gulp watch) and my theme is compiled, it doesn’t work on the wordpress instance (virtualhost.com)

Any ideas, this is an ongoing confusion I have with the framework, it feels as if the development runs in two different cycles - theme/gulp and wordpress instance.

Update: Looks like a cache issue but it works well now. Is this a cache issue or is there an extra step I missed earlier?


#2

If you ran gulp --production, you’d need to run gulp again for it to wipe the asset manifest