Live data from Hacker News

Show HN: Run a script if Git changes a file

github.com

1–3 of 3 posts

Re: Show HN: Run a script if Git changes a file

#2
Hi! Author here.

I keep stumbling on teams who are losing time to realise an issue they are experiencing while developing is because there's a new dependency or a migration has to be run on that branch or after pulling new code.

run-if-changed allows you to configure a script to be run when a file is changed by switching a branch or pulling new code using Git hooks.

I'm looking for more use cases and contributors.

What are some of your pain points when developing in a team? Is there something in your build which is annoying you when you check out another branch?

Re: Show HN: Run a script if Git changes a file

#3
post #2

Hi! Author here. I keep stumbling on teams who are losing time to realise an issue they are experiencing while developing is because there's a new dependency or a migration has to be run on that branch or after pulling new code. run-if-changed allows you to configure a script to be run when a file is changed by switching a branch or pulling new code using Git hooks. I'm looking for more use cases and contributors. Wh…

This is very useful, thank you for making this!