proPhet proPhet - 2 months ago 9
CSS Question

Add CSS changes to SCSS File

Say I've built a .CSS file that I compiled from a .SCSS file.

What happens if one of my team members directly edits the .CSS file, and I come along and recompile a change to the .SCSS file?

How do I stop the direct updates to the CSS file being lost?

Answer

You can't.
You must enforce .css files to be only written by scss compiler.

Comments