Dirty files

Esben Mose Hansen kde at mosehansen.dk
Wed May 19 18:55:16 UTC 2010


On Wednesday 19 May 2010 20:30:48 Milian Wolff wrote:
> And again: it has everything to do with included files. You don't want to 
> keep track to all changes in some generated files, just because the file
> got  changed, do you? Well, I know I wouldn't. Only when I actually need
> it, I'd be interested, e.g. when I open/activate a document that includes
> one of these generated files.
> -

So no auto-include of the correct file because it didn't get scanned?

One other thing: Watching the files themselves won't always work, because some 
(many?) programs actually modify files by first writing a modified copy in a 
temporary files, and then renaming the file back to the correct file name. So 
we would need to watch the directory the file resides in *anyway*. So why not 
do the full watching? It's not like you normally get hundreds of regenerated 
files all the time, so we are not going to get swamped with events, and the 
number of watches needed are not that different.

-- 
Kind regards, Esben




More information about the KDevelop-devel mailing list