Akshay Agarwal
Akshay Agarwal

Reputation: 2039

Configure Laravel to not cache anything in dev environment?

Is there a way I can tell Laravel to not cache anything (routes, RouteServiceProvider, config etc.) in my dev environment?

Upvotes: 0

Views: 218

Answers (1)

crynobone
crynobone

Reputation: 1814

I did a fresh install and then when I edited my RouteServiceProvider, the changes wouldn't reflect until I ran php artisan clear-compiled, so the caching does seem to be happening without me running any commands.

This issue is fixed via https://github.com/laravel/laravel/pull/3398 and available for 5.1

Upvotes: 1

Related Questions