Fixes #95 Fix compile-on-save

* this was broken after the change to support linked files