TL; DR: CodeKit checks my crappy dev js and warns when it inevitably detects an error. Can I turn off this feature until I am ready to polish at the factory?
This might be a question for the superuser, but since it has obvious implications for the code and the site, I thought it might be better here.
Using CodeKit to compile my LESS sheets and compress my site images. CodeKit insists on checking js, which it finds too - I'm still in development, so it inevitably detects an error and warns of every damn escape. This is advisable when I am in production, but it is still a few weeks. Is there a way to temporarily prevent js validation? Somehow switch js check? I tried disabling all minifiers and uglifyers, but it still runs some set of minimum values.
I would rather change the structure of the environment as a last resort. All media on my site are contained in the /ui/ directory:
ui [watched] -css -images -js -less [compile to ../css]
To just not watch /ui/js/ , I would have to make the following changes:
ui -css [watched] --less [compile to ../] -images [watched] -js
I would have to look at two folders separately, change the structure of the site and change the compilation path - IMHO, this wins the elegance of CodeKit, especially since I will have to cancel it when I get to the product.
source share