Closed ManojKiranA closed 4 years ago
I don't see any problem with using the watcher with Laravel. What is your issue about?
i have clearly mentioned as adding console command
for Example: My App Name is Demo
Instead of php-watcher Demo
There must of Some Sort of Command as
php artisan Watch
Actually, it is not clear for those how don't use Laravel. I think that what you want here should be implemented as a separate package, not in this one. I don't want to couple this package to any framework.
@seregazhuk I'm a Laravel developer, and I see only one possible scope for php-watcher:
Also, for the actual feature asked, there is a bundled artisan serve
command that does exactly whats requested: starts laravel app with internal php http server.
@gorbunov so, there is no need to couple to Console Command or something like that? If someone wants to make artisan watch
command - this can be implemented in a separate package "laravel-php-watcher" or something)
@seregazhuk yes, I think its not needed: There is no long-running processes to watch out-of-the-box in laravel in development mode, there is existing command to serve app as traditional http requests, any other complex behavior wouldn't benefit from any implementation internal watching. (Also no reason to bundle it with production code of any laravel app) I'd say this should be just closed.
@gorbunov thank you!
Add Support for Laravel by adding Console Command