CSS in Section stylesheet tag is missed

I am uploading several liquid files with sections {% stylesheet  %} tag to my app users' themes. However, when the liquid files are uploaded, the css in the stylesheet tag is not rebuilt. The issue causes my templates to look broken since some styles are missed

As a quick fix referring to this thread, I just add a space in the liquid file and save it. The missed css will be rebuilt again. But this is quite manual. My app users install my app and I hope everything can be automated. 

Anyone can give me a hint?

I know that I can move up the css to the <style> tag. But it's not self-contained by the section and the css will not be compressed. 

SPO - SEO App to research keywords & edit social link preview
BYOB - Build Your Own Bundles