Stop Web Essentials 2013 automatically adds the compiled CSS file to the project

I am using Web Essentials in Visual Studio to compile SASS files locally on save. However, I don't want the generated CSS files to be tied to the original control. I have a Grunt task to compile SASS when deploying a project.

My problem is that I cannot find a way to stop Web Essentials from adding CSS files to the project.

  • I tried to exclude them from the project, but they are added to save again.
  • I tried adding files to gitignore

    but seems to override this and still commit it.

I have looked at this SO question and this GitHub issue

How do people work on this problem? I would like to keep compiling with preservation, but not commit the original control.

+3


source to share


1 answer


you can disable SASS compilation in Essentials and use Task Runner Explorer with grunt and 'watch' task to compile them semi-manually (grunt will compile css to save sass files), after which you can exclude CSS files from project



0


source







All Articles