added callback for precompile of assets