From b953850a1f1f8e96fb52a1074ac4a7ecc5ab164e Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Wed, 26 Oct 2016 12:05:29 +1300 Subject: [PATCH] chore(grunt): fix issue with grunt run-* tasks --- gruntFile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gruntFile.js b/gruntFile.js index fc92ade34..2a6772a11 100644 --- a/gruntFile.js +++ b/gruntFile.js @@ -49,10 +49,10 @@ module.exports = function (grunt) { ]); grunt.registerTask('lint', ['jshint']); grunt.registerTask('test-watch', ['karma:watch']); - grunt.registerTask('run', ['if:binaryNotExist', 'build', 'shell:buildImage', 'shell:run']); - grunt.registerTask('run-swarm', ['if:binaryNotExist', 'build', 'shell:buildImage', 'shell:runSwarm', 'watch:buildSwarm']); - grunt.registerTask('run-dev', ['if:binaryNotExist', 'shell:buildImage', 'shell:run', 'watch:build']); - grunt.registerTask('run-ssl', ['if:binaryNotExist', 'shell:buildImage', 'shell:runSsl', 'watch:buildSsl']); + grunt.registerTask('run', ['if:unixBinaryNotExist', 'build', 'shell:buildImage', 'shell:run']); + grunt.registerTask('run-swarm', ['if:unixBinaryNotExist', 'build', 'shell:buildImage', 'shell:runSwarm', 'watch:buildSwarm']); + grunt.registerTask('run-dev', ['if:unixBinaryNotExist', 'shell:buildImage', 'shell:run', 'watch:build']); + grunt.registerTask('run-ssl', ['if:unixBinaryNotExist', 'shell:buildImage', 'shell:runSsl', 'watch:buildSsl']); grunt.registerTask('clear', ['clean:app']); // Print a timestamp (useful for when watching)