projects
/
WP-Themes
/
GreyGables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbcfb11
)
Only copy the files on first build
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 13 Jan 2015 20:42:41 +0000
(15:42 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 13 Jan 2015 20:42:41 +0000
(15:42 -0500)
This should speed up grunt default tasks
Gruntfile.js
patch
|
blob
|
history
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
409b9f2
..
1ccb5da
100755
(executable)
--- a/
Gruntfile.js
+++ b/
Gruntfile.js
@@
-60,7
+60,7
@@
module.exports = function(grunt) {
grunt: { files: ['Gruntfile.js'] },
sass: {
- files: 'scss/**/*.
scss
',
+ files: 'scss/**/*.
{scss,sass}
',
tasks: ['sass']
},
@@
-79,5
+79,5
@@
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('build', ['sass', 'copy', 'uglify', 'concat']);
- grunt.registerTask('default', ['build','watch']);
-}
\ No newline at end of file
+ grunt.registerTask('default', ['watch']);
+}