I'm trying to get started with symfony3 and while playing around with some controllers and routes I face the problem that every time I load a specific route any further changes on a controller class are not recognized by symfony until I clear the routing cache.
For example:
creating a LuckyController
creating a numberAction
Test it.
After that creating a numbers2Action
Now the route for numbers2Action isnt found until I do a console cache:clear
This seems very annoying for testing/developing. I searched for possibilities to disable the cache for dev environment but didnt found a solution yet. (e.g. tried to // $kernel->loadClassCache(); in app_dev.php but this didnt work for me)
Is there a way to disable the routing cache (or another way to workarround this problem) for developing?
Thanks
Edit: I'm using app_dev.php