diff options
author | Jonne Haß <me@jhass.eu> | 2016-06-26 14:00:29 +0300 |
---|---|---|
committer | Jonne Haß <me@jhass.eu> | 2016-06-26 14:11:43 +0300 |
commit | 266ada3f249980ca72f0112acd697b63e08c699f (patch) | |
tree | 02ffb042e7ee017870b06bfdd96a1ded96096698 /script | |
parent | f1f7c41eda0e777f2b77bee53bf6cc0affd90aac (diff) |
script/server: check for main.js instead of home.css
Diffstat (limited to 'script')
-rwxr-xr-x | script/server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/server b/script/server index 466b4ef0f..7b66ba22e 100755 --- a/script/server +++ b/script/server @@ -162,7 +162,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 |