Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Duplicate Sass Compiles #98

maxlapides opened this Issue · 9 comments

2 participants


I'm having an issue where my Sass files are being compiled multiple times. I'm not sure if this has anything to do with it, but the issue occurs whenever I save either the Sass partials or when I save the Sass files that import the partials. This is an issue on a couple of projects that I'm working on - both are WordPress, one uses Compass, the other doesn't. I'm on Mavericks 10.9.1 and I'm using Coda 2, but the issue also occurs when I save a Sass file using TextEdit. Please let me know if you need any more information!


This also relates to the overlapping text issue I filed earlier: #63

The overlapping text occurs on the duplicate compile.


When you say "compile multiple times" do you mean that when you save a partial like _variables.scss, you see that both ie.scss and style.scss compile? Or do you mean that the SAME sass file is compiling twice in a row (i.e. style.scss compiles twice)?

If the former, that's absolutely the correct behavior for the project you posted.


It's actually the latter: when I save _variables.scss, both ie.scss and style.scss compile twice. For example, I just cleared my CK log and then saved _variables.scss once. Here's the output:



I see. I need all the details you can give me about this.

-- Is the folder local? Network disk?
-- Is anything else watching the folder? Dropbox, some syncing client, FTP app?
-- Is anything else modifying the files? Applescript, Coda set to do something funky on file saves?
-- What apps are running on your machine?
-- What format is this disk using?

Every detail you can get me. Something is different on your machine and I'm not sure what that is.



-- The folder is local, not a network disk. It's in Applications/MAMP/htdocs
-- Nothing else is watching the folder - I even tried quitting Dropbox, Google Drive, and Coda 2 just to be sure.
-- Nothing else should be modifying the files.
-- For testing purposes, I quit all of my applications. I'm just running Safari, CodeKit, and TextEdit and I'm still getting duplicate compiles. Other than that, the applications running in my menu bar are Adobe Creative Cloud, Fantastical, LogMeIn, Living Earth, EarthDesk, Should I Sleep, 1Password, and Mint.
-- My internal hard drive is formatted Mac OS Extended (Journaled, Encrypted). It's the solid state hard drive that came with my rMBP.

And some other details:

-- I'm using MAMP Pro, but the issue remains even when the MAMP Pro servers are off and the MAMP Pro application isn't running.
-- I restarted my computer and the issue persists.

If you like, I'd be happy to set up a so you can look around my computer yourself?


Ok. I've been able to reproduce this in Coda 2.5

I'm looking into it.


This is fixed in Beta 5.

NOTE: as a result, CodeKit will now respond to a file-save event only once every 1.5 seconds. If you save a file more rapidly than that, CodeKit will ignore every save event until 1.5 seconds have elapsed since the last save event that it responded to.

@bdkjones bdkjones closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.