Closed tmbenhura closed 5 years ago
Hi @tmbenhura,
Thanks for reporting your issue!
Looking into it, I've worked out a solution, something like…
// vendor/ajthinking/tinx/src/Console/TinxCommand.php
do {
// …
app('App\Providers\RouteServiceProvider', ['app' => $this->laravel ])->boot();
// …
} while (/* … */);
…but I'm currently unable to apply it while Tinx supports Laravel 5.2.
When we drop Laravel support for 5.2, I'll apply the patch.
Sorry I can't help further at the moment.
Cheers!
Using re() doesn't reload changes to the route list. If you are using a UrlGenerator the generator still references the old routing list.