add watcher

This commit is contained in:
crazywhalecc
2022-01-08 20:19:10 +08:00
parent 8fc6e4b0f7
commit b4159152a7
3 changed files with 143 additions and 1 deletions

View File

@@ -17,7 +17,8 @@
"prefer-stable": true,
"bin": [
"bin/start",
"bin/phpunit-swoole"
"bin/phpunit-swoole",
"bin/watcher"
],
"require": {
"php": ">=7.2",
@@ -52,6 +53,12 @@
"src/ZM/global_functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Module\\": "src/Module",
"Custom\\": "src/Custom"
}
},
"require-dev": {
"swoole/ide-helper": "@dev",
"phpunit/phpunit": "^8.5 || ^9.0"