diff --git a/script/server b/script/server index d585abaf02c3caade1aa552ac9a51c4c8f281d5a..d8d35aad8a3540547763e3a4cf833b3517cc5e50 100755 --- a/script/server +++ b/script/server @@ -150,7 +150,7 @@ then fi # Check if assets are precompiled -if [ "$RAILS_ENV" = "production" -a -z "$(find public/assets -maxdepth 1 -name 'home-*.css' -print -quit 2>/dev/null)" ] +if [ "$RAILS_ENV" = "production" -a -z "$(find public/assets -maxdepth 1 -name 'main-*.js' -print -quit 2>/dev/null)" ] then fatal "You're running in production mode without having assets precompiled. Now and after each update before you restart the