Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add watch for Compass

  • Loading branch information...
commit 9e294204a685ec31ddce5ff121a62a74a3e8d12e 1 parent 86cae6a
@davidkaneda davidkaneda authored
Showing with 6 additions and 3 deletions.
  1. +4 −2 Gruntfile.coffee
  2. +2 −1  package.json
View
6 Gruntfile.coffee
@@ -9,6 +9,7 @@ module.exports = (grunt) ->
grunt.loadNpmTasks "grunt-contrib-concat"
grunt.loadNpmTasks "grunt-contrib-jshint"
grunt.loadNpmTasks "grunt-contrib-uglify"
+ grunt.loadNpmTasks "grunt-contrib-watch"
grunt.loadNpmTasks "grunt-update-submodules"
grunt.registerMultiTask "rake", "Compile a Ruby Package with Rake", ->
@@ -180,8 +181,9 @@ module.exports = (grunt) ->
"<%= dirs.build %>/test/instrumented/jqtouch.js": ["src/jqtouch.js"]
watch:
- files: "<%= dirs.build %>/themes/css"
- tasks: "compass"
+ theming:
+ files: "themes/scss/**/*.scss"
+ tasks: ["compass"]
jshint:
src: "<%= dirs.src %>/**/*.js"
View
3  package.json
@@ -45,7 +45,8 @@
"grunt-contrib-jshint": "~0.1.0",
"grunt-contrib-uglify": "~0.1.1rc6",
"grunt-contrib-compass": "~0.1.1rc8",
- "grunt-update-submodules": "~0.2.0"
+ "grunt-update-submodules": "~0.2.0",
+ "grunt-contrib-watch": "~0.1.4"
},
"optionalDependencies": {},
"scripts": {
Please sign in to comment.
Something went wrong with that request. Please try again.