From b7497deb41ba42c4b9c626de66108d0fed216a07 Mon Sep 17 00:00:00 2001 From: David Rautureau Date: Wed, 14 Mar 2018 16:18:20 +0100 Subject: Fix incremental build of sonar web --- server/sonar-web/scripts/build.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'server/sonar-web/scripts') diff --git a/server/sonar-web/scripts/build.js b/server/sonar-web/scripts/build.js index 321cb71c30c..c3469f538c3 100644 --- a/server/sonar-web/scripts/build.js +++ b/server/sonar-web/scripts/build.js @@ -37,14 +37,8 @@ function clean() { // if you're in it, you don't end up in Trash console.log(chalk.cyan.bold('Cleaning output directories and files...')); - console.log(paths.jsBuild + '/*'); - rimrafSync(paths.jsBuild + '/*'); - - console.log(paths.cssBuild + '/*'); - rimrafSync(paths.cssBuild + '/*'); - - console.log(paths.htmlBuild); - rimrafSync(paths.htmlBuild); + console.log(paths.appBuild + '/*'); + rimrafSync(paths.appBuild + '/*'); console.log(); } -- cgit v1.2.3