Skip to content

Instantly share code, notes, and snippets.

@chipcullen
Created December 13, 2012 14:07
Show Gist options
  • Save chipcullen/4276592 to your computer and use it in GitHub Desktop.
Save chipcullen/4276592 to your computer and use it in GitHub Desktop.
A fix for Drupal and Codekit. As described here - http://www.nickcomito.me/notebook/codekit-doesnt-refresh-after-compiling-sass-drupal - Codekit and Drupal don't get a long right out of the box. Add this to your html.tpl.php right after <?php print $styles; ?> and your SASS changes will be injected per normal via Codekit. Big shout out to Nick C…
<link rel="stylesheet" href="/<?php print path_to_theme(); ?>/css/style.css" />
@chipcullen
Copy link
Author

I'm sorry - I'm only seeing your comment now. That module looks pretty sweet - thank you for pointing it out!

@chipcullen
Copy link
Author

I tried your module out, and it works great! I even blogged about the whole thing: http://chipcullen.com/drupal-codekit-try-link-css/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment