Permalink
Browse files

Update source changes with watch

  • Loading branch information...
1 parent 057f739 commit 4871cfc49c5a85a56d2e2c023bc9db601ce14fce @davidkaneda davidkaneda committed Feb 17, 2013
Showing with 11 additions and 2 deletions.
  1. +11 −2 Gruntfile.coffee
View
@@ -73,6 +73,12 @@ module.exports = (grunt) ->
src: ["*/**", "!{test,node_modules,build,submodules,jqtouch*,themes/compass-recipes,themes/scss}/**", "*.{md,txt,htaccess}"]
dest: "<%= dirs.build %>/"
+ source:
+ expand: yes
+ cwd: 'src'
+ src: ["**/*.js"]
+ dest: "<%= dirs.build %>/src/"
+
dist:
files: [
expand: yes
@@ -183,8 +189,11 @@ module.exports = (grunt) ->
watch:
theming:
- files: "themes/scss/**/*.scss"
- tasks: ["compass"]
+ files: 'themes/scss/**/*.scss'
+ tasks: ['compass']
+ source:
+ files: 'src/**/*.js'
+ tasks: ['copy:source']
livereload:
options:

0 comments on commit 4871cfc

Please sign in to comment.