adding guard for live reload for development