Replies: 3 comments 3 replies
-
I think you may be able to use this bash script: https://gist.github.com/lotharthesavior/4c3aa47665d83a0d4fbdd293ac11f7cc |
Beta Was this translation helpful? Give feedback.
-
This may also be usable: |
Beta Was this translation helpful? Give feedback.
-
Maybe try something like: $this->server = new Swoole\Http\Server("127.0.0.1", 9501, SWOOLE_BASE); $this->server->set([ If that does not work, try: $this->server = new Swoole\Http\Server("127.0.0.1", 9501, SWOOLE_PROCESS); $this->server->set([ |
Beta Was this translation helpful? Give feedback.
-
I am running a swoole http server and trying to figure out how reloading works. Is there a complete example somewhere of how hot reloading works? I'm used to php-fpm where I can edit any file and refresh in my browser to see the changes, and I'm trying to figure out how close I can get to simulating that with swoole.
Thanks for your help.
Ryan
Beta Was this translation helpful? Give feedback.
All reactions