digisavvy / some-like-it-neat

A WordPress Theme Using _s, Bourbon + Neat and Theme Hook Alliance
GNU General Public License v2.0
276 stars 61 forks source link

CSS map #62

Closed nelsonvassalo closed 9 years ago

nelsonvassalo commented 9 years ago

Hi!

I can't seem to get my minified CSS files to map out to the correspondent SCSS files, even when I'm debug mode in WP. Am I missing something in gulpfile.js?

Thanks!

digisavvy commented 9 years ago

Hey there, Sorry you're having troubles with the theme. Just a note, CSS files are output to /assets/css - can you verify if you have any files there? Minified files are always output, so that's curious to me.

This is what the CSS folder should look like: gulpfile_js_ _digisavvy_dev__somechild_dev__cultstorelocator_dev__innovationinmedtech_dev__somelikeitneat_dev__amla_dev__cultofindividuality_dev__gmuproject_dev__voyagevixens_dev__mobile_template__antaeus_dev__full_mobile_template_6slp9l0w_

nelsonvassalo commented 9 years ago

yes, it's indeed giving me both expanded and minified versions in the /css folder but no source map. I'm sorry, I think that wasn't clear in my thread intro, but I meant source mapping, from css to the various scss files.

digisavvy commented 9 years ago

By default, sourcemaps are disabled gulpfile_js_ _digisavvy_dev__somechild_dev__cultstorelocator_dev__innovationinmedtech_dev__somelikeitneat_dev__amla_dev__cultofindividuality_dev__gmuproject_dev__voyagevixens_dev__mobile_template__antaeus_dev__full_mobile_template_6slp9l0w_ If you remove the highlighted area in the screenshot, then you should get them back. I'm looking to modify this so that sourcemaps are always generated. Right now, when generated, they break browsersync, causing the browser to refresh and not sync on style changes.