A docker container for monitoring PHP file changes an automatically running Laravel Wayfinder.
578
A docker container for monitoring PHP file changes an automatically running Laravel Wayfinder.
Add this container as a separate service in your docker compose.yaml file.
wayfinder:
build:
context: stagerightlabs/watchfinder
environment:
- WATCH_CMD=php artisan wayfinder:generate --with-form
volumes:
- ./:/var/www/html:cached
The WATCH_CMD variable is the artisan command you want to run when file changes are detected.
With this service in place in your local docker environment you will no longer need to use the Vite Wayfinder plugin; you can remove it completely from your vite config file.
Content type
Image
Digest
sha256:199f5964e…
Size
39.4 MB
Last updated
9 months ago
docker pull stagerightlabs/watchfinder