Skip to content

Commit

Permalink
Adds composer run dev support
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Oct 16, 2024
1 parent 88a208d commit da79d1b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/devtool": "~3.1.0",
"hyperf/testing": "~3.1.0",
"hyperf/watcher": "~3.1.0",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"swoole/ide-helper": "^5.0"
Expand Down Expand Up @@ -72,6 +73,10 @@
"test": "co-phpunit --prepend test/bootstrap.php --colors=always",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 300M",
"dev": [
"Composer\\Config::disableProcessTimeout",
"php ./bin/hyperf.php server:watch"
],
"start": [
"Composer\\Config::disableProcessTimeout",
"php ./bin/hyperf.php start"
Expand Down

0 comments on commit da79d1b

Please sign in to comment.