frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Auto-restart frankenphp in worker mode on file changes (for Docker local development)

Open binaryfire opened this issue 1 year ago • 4 comments

Describe you feature request

Opening an issue for this so it doesn't get forgotten. Discussion: https://github.com/dunglas/frankenphp/discussions/556

The custom solution I implemented was using lots of CPU so I had to disable it. It'd be great to have a built in way of handling this. Currently I'm restarting the container manually every time I make a file change 😵‍💫

Would it be difficult to add this to the container image as a --watch flag?

binaryfire avatar Mar 16 '24 13:03 binaryfire

It's on my todo list!

dunglas avatar Mar 16 '24 13:03 dunglas