madskristensen / WebEssentials2013

Visual Studio extension
http://vswebessentials.com
Other
944 stars 252 forks source link

.css.map and .min.css appear in pending changes after committing .scss file #1554

Open thienedits opened 10 years ago

thienedits commented 10 years ago

Not sure whats going on but after committing the .scss file the .css.map and .min.css files appear in the pending changes. Why is this happening?

am11 commented 10 years ago

Is it TFS or GIT?

Perhaps it could be due to the hierarchy (.css.map and .min.css are nested under scss).

@SLaks, is it the default behavior?

SLaks commented 10 years ago

To fix this, we need to only call CheckoutFromSourceControl() if the file actually changed.

thienedits commented 10 years ago

we are using svn

thienedits commented 10 years ago

I just switched to a new development laptop, this never happened with my previous development laptop. Sorry I can't be of more help, I am still pretty new to visual studio and .net framework.

misteroh commented 10 years ago

We use TFS and get something similar sometimes. We'll recompile all SASS and see some CSS files checked out even when we didn't touch the source SCSS.