Implements a kind of live reloading (see Issue #22)