Gulp watch: main css file without release

Thank you for your answers!

There are still some issues :confused:

  • gulp --production ran because the site was deployed to production (trellis hook)
  • Since then the main CSS has a versioned name.
  • Gulp watch finds changes and updates the styles accordingly, but the browser doesn’t pick the changes up, still using the versioned main CSS file.
  • Even when the main CSS file is removed, theme expects this file.
  • Just running gulp updates the main CSS file but the theme still expects the versioned CSS file.

Where/how does the theme know that a versioned main CSS file should be used? How can I reset this to development state?

Thanks in advance!