Sign inSign up

stagerightlabs/watchfinder

By stagerightlabs

•Updated 9 months ago

A docker container for monitoring PHP file changes an automatically running Laravel Wayfinder.

Image
Developer tools
0

578

stagerightlabs/watchfinder repository overview

⁠Watch Finder

A docker container for monitoring PHP file changes an automatically running Laravel Wayfinder.

⁠Usage

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.

⁠Notes

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.

Tag summary

Content type

Image

Digest

sha256:199f5964e…

Size

39.4 MB

Last updated

9 months ago

docker pull stagerightlabs/watchfinder