I am setting up a Laravel application and i am not getting a response after editing files and refreshing browser. I am not running Laravel in Xampp. I also tried running my old project and it work ok.
I have tried:
- fresh installation of Composer.
composer -V
prints1.7.3
- fresh installation of Laravel.
laravel -v
printsLaravel Installer 2.0.1
After the new project is set up, i open the printed address in Chrome. The default page shows. After i edit something in view and refresh opened page, it loads for a long time and then prints out an error CONNECTION_RESET
. My problem is similar to this one: Laravel installed, but connection is reset / No data received, with an exception that i dont use Apache. Other artisan commands (make:module, make:controller) are working ok.
However, running php -S localhost:80 -t public
instead of php artisan serve
work ok. But i want php artisan serve
to work. Am i missing something here?
EDIT: if i restart artisan serve
command, the lage loads, however after first edit it does not.
EDIT2: I edited view files - html:
I changed this:
<div>Hello world</div>
To this:
<h1>Hello world</h1>