Re:Buck – A build system developed and used by Facebook
by ww520 on Tuesday March 14, 2017 @03:28AM
(#13865713)
Is there a watch command to detect file change and kick off the build steps?
[ Parent
| on HN ]
Re:Buck – A build system developed and used by Facebook
by LegNeato on Tuesday March 14, 2017 @03:53AM
(#13865794)
Buck has a daemon that does it automatically. Often when you go to build it takes 0 seconds because the daemon has already done it before you get to it:
https://buckbuild.com/command/buckd.html
Note the daemon is automatically started when you `buck build`.
(disclosure: my team created Buck when I was at FB)
Re:Buck – A build system developed and used by Facebook
by sdwilsh on Tuesday March 14, 2017 @12:02PM
(#13868653)
Although the daemon doesn't automatically build things. Buck does use watchman (https://github.com/facebook/watchman) to watch files though, and it has a way to run commands when files change: https://facebook.github.io/watchman/docs/watchman-make.html