diff --git a/assets-builder/helpers/register.js b/assets-builder/helpers/register.js index 70c94c0..5c803e7 100644 --- a/assets-builder/helpers/register.js +++ b/assets-builder/helpers/register.js @@ -16,9 +16,9 @@ module.exports = function(configs, key, builder) { var taskNames = [] configs.forEach(function(config, index) { - var id = key + (configs.length > 1 ? ':' + index : '') - var buildId = 'build:' + id - var watchId = 'watch:' + id + var id = key + (configs.length > 1 ? '.' + index : '') + var buildId = 'build.' + id + var watchId = 'watch.' + id // Register build task gulp.task(buildId, function() {