Commit 855e820
committed
Fix: Check for include directory before watching in local_runtime_repo
The local_runtime_repo rule was failing on macOS when the Python interpreter's metadata pointed to an include directory that did not exist. This change modifies the rule to check if the include directory exists and is a directory before attempting to watch it with `watch_tree`.1 parent 4e22d25 commit 855e820
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
103 | 110 | | |
104 | 111 | | |
105 | 112 | | |
| |||
0 commit comments