piano/grunt/contrib-watch.js

16 lines
447 B
JavaScript

/*jshint node:true */
'use strict';
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.config('watch.watch-changes', {
files: grunt.config.get('files'),
tasks: [
'clean:clean-files:<%= grunt.task.current.args[1] %>',
'copy:copy-files:<%= grunt.task.current.args[1] %>',
'rebrand:rebrand-exe:<%= grunt.task.current.args[1] %>'
]
});
};