mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
Merge pull request #2659 from appleYaks/clean-transpiled
Clean transpiled ember files when they're changed or deleted
This commit is contained in:
commit
0965d82b18
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ var path = require('path'),
|
|||
},
|
||||
ember: {
|
||||
files: ['core/client/**/*.js'],
|
||||
tasks: ['transpile', 'concat_sourcemap']
|
||||
tasks: ['clean:tmp', 'transpile', 'concat_sourcemap']
|
||||
},
|
||||
concat: {
|
||||
files: [
|
||||
|
@ -1041,7 +1041,7 @@ var path = require('path'),
|
|||
grunt.registerTask('prod', 'Build JS & templates for production', ['handlebars', 'concat', 'uglify', 'copy:prod', 'master-warn']);
|
||||
|
||||
// All tasks related to building the Ember client code
|
||||
grunt.registerTask('emberBuild', 'Build Ember JS & templates for development', ['emberTemplates:dev', 'transpile', 'concat_sourcemap']);
|
||||
grunt.registerTask('emberBuild', 'Build Ember JS & templates for development', ['clean:tmp', 'emberTemplates:dev', 'transpile', 'concat_sourcemap']);
|
||||
|
||||
// When you just say 'grunt'
|
||||
grunt.registerTask('default', 'Build JS & templates for development', ['update_submodules', 'handlebars', 'concat', 'copy:dev', 'emberBuild']);
|
||||
|
|
Loading…
Reference in a new issue