| ▲ | loeg 7 hours ago | ||||||||||||||||||||||
Copy (1) and edit (2) both bump mtime, usually. It's not obvious that in the workflow you describe ninja is problematic, rather than the workflow itself (which is atypical). | |||||||||||||||||||||||
| ▲ | usefulcat 5 hours ago | parent | next [-] | ||||||||||||||||||||||
> 3) move the copy to it's original location Copy and edit do, but move (aka rename) generally does not, and that is the part that is problematic. I don't think the described sequence of operations is all that unusual. Not the most common case for sure, but hardly unlikely in the grand scheme of things. | |||||||||||||||||||||||
| ▲ | mizmar 6 hours ago | parent | prev [-] | ||||||||||||||||||||||
ninja fails to detect that file changed from last build - all it's mtime, ctime, inode and size can change, yet it's not detected as long as mtime is not newer than target. | |||||||||||||||||||||||
| |||||||||||||||||||||||