Questions tagged [codekit]

CodeKit is an OS X application that facilitates frontend web development.

CodeKit is an OS X application that facilitates frontend web development.

Notable features:

  • Automatically compile LESS, SASS, Stylus, Jade, HAML, Slim, CoffeeScript, JavaScript, and Compass files upon save.
  • Optimize images
  • Live browser reloads
  • JSHint & JSLint
  • Combine and minify JavaScript & CoffeeScript files
168 questions
4
votes
2 answers

Javascript build tool similar to Compass?

I'm look for a build tool that behaves like Compass in that it watches a folder(s) and then concatenates, minifies and produces a single output file. I would like to be able to specify the order of the files using a config. I currently use CodeKit…
Craig Ward
  • 2,425
  • 5
  • 33
  • 51
3
votes
4 answers

Codekit file permission issues (Read-only file system @ dir_s_mkdir - /.sass-cache)

Getting the following error: Compiling failed with this error: Errno::EROFS on line ["239"] of /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb: Read-only file system @ dir_s_mkdir - /.sass-cache Run with…
Asaad Mahmood
  • 316
  • 3
  • 15
3
votes
1 answer

Can Sass @warn or @debug directives be viewed in CodeKit?

For example, in a sass file that's compiled on save using compass: @warn 'this is a warning' @debug 'debugging info' I don't see anything returned from these directives in the compile log. I've made sure my config.rb has sass_options = {:quiet =>…
CLL
  • 1,312
  • 3
  • 13
  • 26
3
votes
1 answer

Is it possible to disable browser refreshing in Codekit 2?

Does anyone know of a way to disable browser refreshing in Codekit 2? I’m enjoying the local server feature, but we have multiple people working on the site, and every time one person changes and saves a file we all get our pages refreshed. I'd like…
Joel Farris
  • 510
  • 1
  • 6
  • 23
3
votes
2 answers

CodeKit 2.0.2: Sass source maps not working

I’ve been trying to enable this for the better part of the last few hours… I enabled the source maps in the project settings in CodeKit. However, no CSS source map is being generated. I’ve checked the Chrome settings, the source maps option is…
3
votes
6 answers

Bower component download failures in CodeKit

I downloaded the latest version of CodeKit (trial version 2.0 (16828)). It starts fine on my Mac Mini, but as soon as I try to download a component using Bower, it fails with the error: "Bower Error / Bower could not determine which components are…
balinjdl
  • 326
  • 3
  • 11
3
votes
3 answers

Codekit, LESS CSS, Which files to upload?

So I'm using Codekit to compile LESS CSS on my local server. Now I need to transfer the files to my live server. My question is, do I need to upload all the .less files? Or can I just upload the minified css file? What is the best practice here?
Ben
  • 119
  • 2
  • 4
  • 11
3
votes
5 answers

How to Organize Phonegap HTML Files

I'm using Phonegap to build an iPad app. The app is supposed to be offline (aside of form submission), so it will have mostly static pages, so I'm going to have lots of HTML files, since I am not using JS MVC / Require JS to minimize the complexity.…
Henson
  • 5,563
  • 12
  • 46
  • 60
3
votes
1 answer

How to use Compass/Codekit with Jekyll

I just created my first test site with Jekyll and am hosting it on GitHub Pages. I've been playing around with it, but I'm having a hard time figuring out the best way to set up CodeKit to work with Jekyll so that it does code injection on the…
3
votes
1 answer

Permission denied when overwriting files with Codekit

Using MAMP Pro, I've set up a virtual host for a site where I run Codekit (http://incident57.com/codekit) to autocompile LESS files to its directory. I've set the owner of the host to www, this interferes with Codekit's preferences in some way…
Staffan Estberg
  • 6,795
  • 16
  • 71
  • 107
3
votes
1 answer

SCSS works well, yet Codekit error out "Syntax error: File to import not found or unreadable"

1 The Problem: I use sass (scss) + compass in my project. At first, I just use command line to watch, i.e. "Compass watch" and everything works well. Yesterday, I start to use Codekit to auto-compile all my files, with exactly the same style.scss…
Alex G
  • 1,321
  • 1
  • 24
  • 31
3
votes
1 answer

Codekit ignores .jshintrc

As is fairly common these days, I use AMD modules to organize my JS. So I have a .jshintrc configured in each project accordingly: { "predef": [ "define", "require" ] } On the command line, running jshint gives clear output.…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
2
votes
1 answer

What happens if you manually update a .CSS file when a .SCSS/.SASS file is in use?

I've got the below setup: Brackets IDE CodeKit for compiling SASS/SCSS into CSS CloudMounter to mount a live copy of a Wordpress site via FTP (it also auto updates the server's files with any changes I make to the mounted version). Here's how it…
Jamie Bohanna
  • 530
  • 1
  • 8
  • 26
2
votes
1 answer

SASS: Compressing code - don't compress certain lines

I have a scss file within a Wordpress set up that I'm compressing, at the top of the stylesheet is all the theme information, when the file gets compiled I lose all this information. Is there a way I can keep that part of the file intact then…
Rob
  • 6,304
  • 24
  • 83
  • 189
2
votes
1 answer

Run Gulp Task in Codekit Hook

I'm trying to run a Gulp task as a Codekit Hook after compiling JS files. I've created a new Hook and put in the following command: cd /path/to/my/web/project/ gulp default I just want to run a gulp task everytime Codekit has compiled my JS files.…
captainh2ok
  • 115
  • 1
  • 8
1
2
3
11 12