diff --git a/bin/compile b/bin/compile index 4f47a4909904e302e7bfd3c6c75530eafe2bedd0..50e84c03e6b34fc28ace84dcd3990a2d350a7d01 100755 --- a/bin/compile +++ b/bin/compile @@ -87,6 +87,7 @@ fi # Set new context. +ORIG_BUILD_DIR=$BUILD_DIR BUILD_DIR=$APP_DIR # Prepend proper path buildpack use. @@ -211,6 +212,10 @@ bpwatch stop dump_cache # ### Fin. if [[ ! "$DOCKER_BUILD" ]]; then + bpwatch start appdir_commit + deep-mv $BUILD_DIR $ORIG_BUILD_DIR + bpwatch stop appdir_commit + bpwatch start anvil_appdir_commit if [ "$SLUG_ID" ]; then deep-mv $TMP_APP_DIR $APP_DIR