Gulp --production not producing /dist/styles/

When I use gulp --production on my server /dist/scripts and /dist/images are created, but /dist/styles are not. I know it says in the gulpfile.js documentation that “If the --production flag is set: this task will fail outright” but why does it work offline then?

Nevermind. If this happens to you, it’s because your .scss files didn’t upload/push properly in assets/styles/.