php artisan down --refresh=5
does not work in combination with --render="maintenance.index"
#42208
Labels
php artisan down --refresh=5
does not work in combination with --render="maintenance.index"
#42208
Description:
php artisan down --refresh=5
does not work in combination with--render="maintenance.index"
Steps To Reproduce:
create a custom
maintenance.index
viewrun
php artisan down --refresh=5 --render="maintenance.index"
Expected behavior:
maintenance.index
view will be rendered and refreshed every 5 secondsActual behavior:
maintenance.index
view will be rendered but NOT refreshed every 5 secondsI found this issue on stackoverflow and proposed the below workaround
current workaround:
Parsing the
--refresh=5
argument from$_SERVER['argv']
if available and conditionally add a refresh meta tag in the bladeThe text was updated successfully, but these errors were encountered: