Added file watching and hot reloading for imap server