fastify-cli icon indicating copy to clipboard operation
fastify-cli copied to clipboard

Add CLI option to specify directory or file to watch in watch mode

Open gafreax opened this issue 10 months ago • 1 comments

This PR introduces a new option to the CLI watch mode that allows users to specify a directory or file to watch for changes. This enhancement addresses issue #787.

The option are --follow-watch for example

fastify start --followWatch plugins/support.js --watch .

Checklist

gafreax avatar Jan 28 '25 23:01 gafreax

Can you add a test that actually verifies the added behavior?

Sorry for the long wait - this slipped through the notifications :(.

mcollina avatar Jun 21 '25 11:06 mcollina

Don't worry, I understand. For sure I'll add it as soon as possible. Thanks for your reply!

gafreax avatar Jun 23 '25 22:06 gafreax