Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
2.5.14, 3.1.3
-
None
Description
Currently, CompileAssetsCommand throws no exception in case of e.g. syntax error. That results in a successfully finished build. Due to that, site might be missing a manifest.json file that causes 500 error.
Steps to reproduce:
1. Add a syntax error to any CSS or JS file in your project.
2. Execute php bin/console ezplatform:encore:compile.
Result:
Command will return exit code 2 but not fail with an exception.