I am using sbt sourceGenerators task for code generation. i want to skip all files/folders that are unchanged during processing.How can i check if a particular file/folder inside src/main/scala is changed or not ...
            Asked
            
        
        
            Active
            
        
            Viewed 70 times
        
    2
            
            
        
        invariant
        
- 8,758
 - 9
 - 47
 - 61
 
- 
                    I've searched for related functionality and I'm pretty sure that sbt doesn't expose such functionality. You could just instantiate your own file-watcher and use it to monitor files. But that's worth a separate question. – laughedelic Oct 22 '17 at 19:34
 
1 Answers
0
            
            
        this is usually done using sbt.util.Tracked, there are some examples in sbt itself
        OlegYch
        
- 1,099
 - 7
 - 14