diff --git a/awx/ui/Gruntfile.js b/awx/ui/Gruntfile.js index 1924b9578d..57fddad6ed 100644 --- a/awx/ui/Gruntfile.js +++ b/awx/ui/Gruntfile.js @@ -21,6 +21,7 @@ module.exports = function(grunt) { // browser-sync + websocket proxy grunt.registerTask('dev', [ + 'clean:tmp', 'clean:static', 'concurrent:dev', 'browserSync:http', @@ -28,6 +29,8 @@ module.exports = function(grunt) { ]); grunt.registerTask('release', [ + 'clean:tmp', + 'clean:static', 'webpack:prod', 'concurrent:prod', ]); diff --git a/awx/ui/client/src/smart-status/smart-status.partial.html b/awx/ui/client/src/smart-status/smart-status.partial.html index 43db44be19..a0545ec814 100644 --- a/awx/ui/client/src/smart-status/smart-status.partial.html +++ b/awx/ui/client/src/smart-status/smart-status.partial.html @@ -14,7 +14,7 @@ ng-class="{'SmartStatus--success icon-job-successful': job.value === 1, 'SmartStatus--failed icon-job-failed': job.value === -1, 'SmartStatus--running icon-job-successful': job.value === 0, - 'SmartStatus-vertCenter': singleJobStatus}}"> + 'SmartStatus-vertCenter': singleJobStatus}"> diff --git a/awx/ui/grunt-tasks/clean.js b/awx/ui/grunt-tasks/clean.js index c7be9cc90a..9e603b833d 100644 --- a/awx/ui/grunt-tasks/clean.js +++ b/awx/ui/grunt-tasks/clean.js @@ -1,4 +1,6 @@ module.exports = { + options: { force: true }, static: 'static/*', - coverage: 'coverage/*' + coverage: 'coverage/*', + tmp: '../../tmp' }; diff --git a/awx/ui/grunt-tasks/less.js b/awx/ui/grunt-tasks/less.js index 597bae8aa0..d7c6d98245 100644 --- a/awx/ui/grunt-tasks/less.js +++ b/awx/ui/grunt-tasks/less.js @@ -11,7 +11,10 @@ module.exports = { 'client/legacy-styles/*.less', 'client/src/**/*.less', ] - }] + }], + options: { + sourceMap: true + } }, prod: { @@ -23,7 +26,6 @@ module.exports = { }, options: { compress: true, - } } };