App auto-refreshes on errors only on production