adding autoreload on desktop