fix compile and chokidar option