开发者

How to get Chirpy to update mashed files when edits are made

开发者 https://www.devze.com 2023-01-27 18:32 出处:网络
I\'ve just begun using Chirpy, and it\'s frigging amazing. One problem I\'m having is that I\'m unable to get it to update the mashed file(s) when an edit is made in one of the \"sub\" files.

I've just begun using Chirpy, and it's frigging amazing. One problem I'm having is that I'm unable to get it to update the mashed file(s) when an edit is made in one of the "sub" files.

IE: If I have a mashed file called "site.css" (via my js.chirp.config file) which contains "elements.css", "master.css", "misc.css" etc. And I make an edit to one of them (say, master.css), I want chirpy to kick in and redo the site.开发者_StackOverflow中文版css with the new edits.

Is this at all possible?


Chirpy does this - just make sure your paths use backslashes rather than forward slashes.

<root>
    <FileGroup Name="site.css">
        <File Path="css\elements.css" />
        <File Path="css\master.css" />
        <File Path="css\misc.css" />
    </FileGroup>
</root>

Chirpity chirp chirp chirp.


I have

<Folder Pattern="*.min.css" Minify="false" />

And with that wildcard in there, it doesnt run when min.css files are updated. I have to update the config and save for the mash to occur

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号