mirror of https://github.com/keeweb/keeweb.git
dev-desktop task
This commit is contained in:
parent
ef80142610
commit
d25ff4741b
14
Gruntfile.js
14
Gruntfile.js
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue