When I develop a Laravel application I used to clear cache after making any changes to routes\web.php
or routes\api.php
. Recently I was working on a project for a fellow and found out that the project does not need clearing cache every time I make a change in any of the files I have mentioned.
So I want to know what is the problem with the autoloader or what exactly is the general problem?