script/server: check for main.js instead of home.css
This commit is contained in:
parent
f1f7c41eda
commit
266ada3f24
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue