I'm getting a strange behaviour with php built-in server and Phalcon. Created a project using dev-tools, then run it like this:
php -S localhost:1337 -t public .htrouter.php
Everything works great until I use exit or die inside of a controller. First request is rendered with as normal and then after a refresh I get PHP fatal error like this:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required '.htrouter.php' (include_path='.:') in Unknown on line 0
My PHP version 5.6.13.