Dependencies: Update graph on file save

Doesn't work in unit test because listener is not exported to MEF.