diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 2df520445..925b206e8 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -15,7 +15,7 @@ module.exports = (grunt) -> if fs.statSync(source).isDirectory() require('wrench').copyDirSyncRecursive(arguments...) else - fs.writeFileSync(destination, fs.readFileSync(source)) + grunt.file.copy(source, destination) grunt.log.writeln("Copied #{source.cyan} to #{destination.cyan}.") grunt.initConfig