Trying to Precompile automatically in producton only, manual way is working fine.