sjc5 / hwy

Hwy is a fullstack web framework for driving a (p)react frontend with a Go backend. Includes end-to-end typesafety, file-based nested UI routing, and much more.
BSD 3-Clause "New" or "Revised" License
320 stars 3 forks source link

add `watchInclusions` like `watchExclusions` #54

Closed pillowsoft closed 10 months ago

pillowsoft commented 10 months ago

I'd like to use hwy in a monorepos, but would like hwy to watch and reload changes in other packages in my monorepo. Could you add a watchInclusions like watchExclusions, but for adding paths to include in watching (and/or would you like a pull request)?

Thanks!

sjc5 commented 10 months ago

I like this idea @pillowsoft.

I'm mid-way a pretty substantial refactor to the dev tooling side of Hwy, so perhaps not the best time for an outside PR, though I very much appreciate the offer.

I'll give this a bit of a think, but I imagine it should be pretty do-able. Will get back to you in a bit!

sjc5 commented 10 months ago

Alright, just shipped this as 0.7.2 @pillowsoft: https://github.com/hwy-js/hwy/releases/tag/v0.7.2

Thanks for the great idea!

pillowsoft commented 10 months ago

Thank you and thanks for the quick addition!!! It works wonderfully!