bangnokia/laravel-serve-livereload
最新稳定版本:1.1.5
Composer 安装命令:
composer require bangnokia/laravel-serve-livereload
包简介
Bring livereload to laravel artisan serve command
README 文档
README
This package is daed, please use the new Vite integrated instead
This package integrates into default artisan serve command an WebSockets server for live reloading the application when any file changed. How it works, checkout my blog post for explaination if you don't like digging into source code.
Installation
For laravel 8, please use version ^1.x, and below use version 0.x
composer require bangnokia/laravel-serve-livereload --dev
Usage
Open terminal and run php artisan serve
This package works even when you use custom vhost such as valet or laragon
Configuration
By default, this package looking for files changes in these directories:
/app
/public
/config
/routes
/resources
If you want to customize the watched forlders, you can publish the configuration file by this commmand:
php artisan vendor:publish --provider="BangNokia\ServeLiveReload\CommandServiceProvider"
and then you can config what you want in the config/serve_livereload.php.
统计信息
- 总下载量: 8.92k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 100
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-06
