From b5c4d7d2fc0c31b542c39bf8aeeb23bef0fc9873 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 10 Mar 2019 00:14:59 +0000 Subject: [PATCH] build script: simplify client-watch task --- build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build b/build index 142b086..0a97d23 100755 --- a/build +++ b/build @@ -137,11 +137,7 @@ function task_dev-server-stop { function task_client { task_begin "Packaging Javascript"; node_modules/rollup/bin/rollup --sourcemap --config rollup.config.js; - exit_code=$?; - task_end ${exit_code}; - if [[ "${exit_code}" -ne 0 ]]; then - exit ${exit_code}; - fi + task_end $? "Error: rollup packing failed!"; task_begin "Copying html"; cp client_src/index.html "${build_output_folder}";