Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
fix(watch): sourcemap not updated on sass file change
Browse files Browse the repository at this point in the history
sourcemap doesn't update when SASS file changes because of autoprefixer:dist task running. Only autoprefixer:server task should run
  • Loading branch information
prayagverma committed Jun 18, 2015
1 parent ec7f966 commit 5248054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/common/root/_Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = function (grunt) {
},<% } %><% if (compass) { %>
compass: {
files: ['<%%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
tasks: ['compass:server', 'autoprefixer']
tasks: ['compass:server', 'autoprefixer:server']
},<% } else { %>
styles: {
files: ['<%%= yeoman.app %>/styles/{,*/}*.css'],
Expand Down

0 comments on commit 5248054

Please sign in to comment.