summaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
Diffstat (limited to 'build2')
-rw-r--r--build2/inotify-daemon5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/inotify-daemon b/build2/inotify-daemon
new file mode 100644
index 0000000..37f7ca0
--- /dev/null
+++ b/build2/inotify-daemon
@@ -0,0 +1,5 @@
+- Linux inotify(7) daemon to avoid stat() on rebuild [idea]
+
+One way to avoid calling stat() on every target during a rebuild is to have a
+daemon (running between rebuilds) that uses inotify(7) API to track what has
+changed between rebuilds.