Questions tagged [grunt-contrib-compass]

Compile Sass to CSS using Compass

Grunt task to compile Sass to CSS using Compass

55 questions
1
vote
1 answer

cssDir vs cssPath in grunt-contrib-compass?

In the optional configuration options for the Compass Grunt plugin (https://github.com/gruntjs/grunt-contrib-compass), what is the difference between cssDir and cssPath? Or do they both control the same thing?
Tim
  • 159
  • 1
  • 8
1
vote
0 answers

grunt compass: can importPath be set recursive?

In one of my projects I want to use some additional SCSS that I added using Bower (normalize-scss). The compass configuration in the gruntfile looks like this (created by backbone generator): compass: { options: { sassDir: '<%=…
publicJorn
  • 2,404
  • 1
  • 20
  • 30
1
vote
2 answers

Grunt grunfile.js and grunt watch

** I want to be able to use Compass but Grunt watch doesn't work and give me strange errors:** Running "watch" task Waiting...Verifying property watch exists in config...ERROR >> Unable to process task. Warning: Required config property "watch"…
1
vote
1 answer

grunt warning on build (grunt-contrib-compass)

I used the yoeman generator-angular to build a project and now I am getting an error on the build. I am getting this error: Running "concurrent:dist" (concurrent) task Running "coffee:dist" (coffee) task Running "coffee:test" (coffee)…
Jeff
  • 2,293
  • 4
  • 26
  • 43
0
votes
1 answer

grunt compress to include hidden subfolders

I'm trying to bundle a number of python dependencies from /dist into the main zip file to deploy it to lambda. These dependencies have hidden subfolders with required files (for whatever reason). For instance: dist/psycopg2/.libs or dist/numpy/.libs…
0
votes
1 answer

Output specific file name of css file grunt-contrib-compass

I'm trying to specify an output name of the CSS file from my grunt-contrib-compass job. The default outputs and index.css file. Actual Result <%= yeoman.app %>/specialdir/themes/index.css Desired Result <%= yeoman.app…
curtybear
  • 1,458
  • 2
  • 20
  • 39
0
votes
2 answers

Getting error when trying to install compass npm ERR! Cannot read property 'length' of undefined

I'm trying to install compass onto my hosting server and I keep getting the above error fed back to the shell. npm ERR! Cannot read property 'length' of undefined I've install node, grunt, contrib-watch, and contrib-uglify after some work arounds.…
user4747724
0
votes
1 answer

How to prevent compass from process and replace the unicode value of my variables?

Here's an example where i declare the unicode of each icon. $icomoon-font-path: "fonts" !default; $mr-employee-board-1: "\e90a"; $mr-employee-board-2: "\e90b"; $mr-employee-calendar: "\e90c"; $mr-employee-compare-vertical:…
Lothre1
  • 3,523
  • 7
  • 43
  • 64
0
votes
1 answer

How to combine multiple watch tasks for different compass tasks in Grunt

We are having some problems finetuning our Grunt setup. Our current project setup is like this. We have a Themes folder, in that themes folder there are different themes that all hold their own SCSS files and other bits related to that theme. Our…
0
votes
1 answer

Compass Fails Post Migration to 'El Capitan'

I'm rather new to grunt and am loving it, but quite frustrated with my lack of success with compass after moving to 'el capitan'. From the grunt project directory, running 'grunt' has an EPERM error seemingly indicating that sass/scss fails to…
beta208
  • 617
  • 1
  • 6
  • 18
0
votes
1 answer

Grunt Watch not running Compass as secondary task

I am trying to include a call to grunt-contrib-compass in my watch task, but it's not registering any saved changes to my .scss files. grunt compass works fine, and grunt watch records all other changes to *.php as expected. What's a guy doing…
lusk
  • 541
  • 5
  • 21
0
votes
1 answer

Compile SASS files in separate folder with relative assets/urls?

I have my own Grunt/Compass/SASS project with a config.rb file that has these settings: http_path = "/" css_dir = "stylesheets" sass_dir = "sass" add_import_path "./bower_components/slick-carousel/slick" As you might guess, the problem here is the…
user2602152
  • 687
  • 7
  • 24
0
votes
0 answers

Optimization of grunt-contrib-compass with base64 fonts

Right now my compass task is taking > 60sec to run. I have found that removing the five fonts I have defined as base64 (truetype and woff) brings that time down to < 30sec. Unfortunately, moving to libsass is not an option, as it does not have…
jerome
  • 4,809
  • 13
  • 53
  • 70
0
votes
1 answer

Compass plugin with Grunt

This is a question about how to use Compass with Grunt. Something goes wrong in the data filling step. I noticed on the console that, when I modify only a .scss file, compass fills up the same file several times (four, five or up to ten). In your…
Mic
  • 5
  • 5
0
votes
4 answers

Compass can't find any Sass files to compile

Trying to learn Grunt. I have installed the grunt-contrib-compass,and grunt-contrib-watch plugins. When I use grunt in terminal, it runs the compass task and comes back with Running "compass:dist" (compass) task Compass can't find any Sass files to…