daodao97 / hyperf-watch
hyperf develop hot reload
This package's canonical repository appears to be gone and the package has been frozen as a result.
Installs: 6 618
Dependents: 2
Suggesters: 0
Security: 0
Stars: 21
Watchers: 1
Forks: 2
Open Issues: 1
This package is auto-updated.
Last update: 2021-12-18 07:37:19 UTC
README
一个帮你在Hyperf开发时快速重启服务的小工具
安装
composer require daodao97/hyperf-watch dev-master --dev
修改composer.json
{ "scripts": { "watch": [ "Composer\\Config::disableProcessTimeout", "./vendor/bin/watch" ] } }
Composer\\Config::disableProcessTimeout
帮助解除composer
命令超时问题
./vendor/bin/watch
默认扫描根目录下除vendor
外的php
文件
./vendor/bin/watch vendor/***
也可追加其他目录