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.
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.