hyperf 项目热重启步骤

1、为方便执行  

vim ~/.zshrc   

写入 export PATH=/Applications/MAMP/bin/php/php7.3.8/bin:$PATH  保存

2、执行 source ~/.zshrc  

3、执行  brew install fswatch , 安装fswatch

4、php bin/dev.php start   热重启

每次保存代码后  会自动重启

posted @ 2021-01-12 19:24  没事就更  阅读(2087)  评论(0编辑  收藏  举报