fix repetition issue on serve in css-minify and js-minify