Added automatic reloading of spec file