Skip to content

Commit

Permalink
Update source changes with watch
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkaneda committed Feb 17, 2013
1 parent 057f739 commit 4871cfc
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Gruntfile.coffee
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4871cfc

Please sign in to comment.