From d493de1924f83d1fa77e6351366716ebf6dcefb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Tue, 16 Jun 2020 06:56:25 +0200 Subject: [PATCH] Print progress during webpack processing This should allow us to debug which assets are causing crashes in CI. --- tutor/templates/build/openedx/bin/openedx-assets | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tutor/templates/build/openedx/bin/openedx-assets b/tutor/templates/build/openedx/bin/openedx-assets index f4f17c0..1d21038 100755 --- a/tutor/templates/build/openedx/bin/openedx-assets +++ b/tutor/templates/build/openedx/bin/openedx-assets @@ -106,6 +106,7 @@ def run_xmodule(_args): sys.argv[1:] = ["common/static/xmodule"] import xmodule.static_content + xmodule.static_content.main() if django_settings_module: @@ -121,7 +122,11 @@ def run_webpack(args): os.environ["STATIC_ROOT_CMS"] = os.path.join(args.static_root, "studio") os.environ["NODE_ENV"] = {"prod": "production", "dev": "development"}[args.env] subprocess.check_call( - ["webpack", "--config=webpack.{env}.config.js".format(env=args.env)] + [ + "webpack", + "--progress", + "--config=webpack.{env}.config.js".format(env=args.env), + ] )