diff --git a/rakefile b/rakefile index fb9fcd833b..cd1349373d 100644 --- a/rakefile +++ b/rakefile @@ -142,6 +142,9 @@ def compile_assets(watch=false, debug=false) puts "Waiting for `#{cmd}` to complete (pid #{pid})" Process.wait(pid) puts "Completed" + if !$?.exited? || $?.exitstatus != 0 + abort "`#{cmd}` failed" + end end end end