Notify the optimizer when a watched file is modified