dev-desktop task

This commit is contained in:
antelle 2016-07-17 16:44:13 +03:00
parent ef80142610
commit d25ff4741b
1 changed files with 9 additions and 5 deletions

View File

@ -280,10 +280,10 @@ module.exports = function(grunt) {
interrupt: true,
debounceDelay: 500
},
// scripts: {
// files: ['app/scripts/**/*.js', 'app/templates/**/*.hbs'],
// tasks: ['webpack']
// },
scripts: {
files: ['app/scripts/**/*.js', 'app/templates/**/*.hbs'],
tasks: ['webpack']
},
styles: {
files: 'app/styles/**/*.scss',
tasks: ['sass']
@ -476,7 +476,7 @@ module.exports = function(grunt) {
logConcurrentOutput: true
},
'dev-server': [
'watch',
'watch:styles',
'webpack-dev-server'
]
}
@ -567,6 +567,10 @@ module.exports = function(grunt) {
'concurrent:dev-server'
]);
grunt.registerTask('dev-desktop', 'Start watcher for desktop app', [
'watch'
]);
grunt.registerTask('desktop', 'Build web and desktop apps for all platforms', [
'default',
'build-desktop'