- 
    Type:
Bug
 - 
    Resolution: Duplicate
 - 
    Priority:
Major - P3
 - 
    None
 - 
    Affects Version/s: None
 - 
    Component/s: None
 - 
    None
 
- 
        Server Development Platform
 - 
        ALL
 - 
        Dev Platform 2020-02-24
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
After generating a fresh ninja file and executing ninja it will immediately regenerate itself. This is because Ninja does not know anything about the SCons* files on first run so assumes they are out of date and re-runs the generation command.
We should either populate .ninja_deps so it's aware it's been recently generated or teach the SCons Ninja builder how to determine it's out of date-ness so when ninja runs the generation command it will only determine there's no work to do.
- related to
 - 
                    
SERVER-45302 Only write Ninja file if the contents have changed
-         
 - Closed
 
 -