Roots Issue #12: Code, styles, not updating

The Issue

Recently, I discovered that when I saved my code it was no longer appearing when I reloaded the website while working locally in development. This occurred along with this error so I thought they were connected.

 

The Solution

It turned out that when you run gulp --production that the Theme begins to look in the /dist folder for assets instead of the /assets folder. So I ran gulp, refreshed the page, and that resolved the issue.




By:
Spencer Hill
Categorized in: Bedrock, Roots, Sage Theme, Trellis, Ubuntu
This post is related to: bedrock, roots, sage, trellis, wordpress,

About

Since 2005 we've been offering digital and content marketing strategy and implementation. Including website development, search engine optimization and marketing, search marketing and more.

Continue Reading »

Contact

Email

us@theportlandcompany.com

Phone

503-567-9561

Follow

  • Logo for The Portland Company with a Coyote
    Thank you for using our site. x