Any way to ignore js?

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.

+6
source share
1 answer

You can configure it so that it is not compiled automatically:

enter image description here

or you can stop it from bringing CodeKit to the front when an error occurs:

enter image description here

+6
source

Source: https://habr.com/ru/post/943550/


All Articles