V
V
Vasiliy2015-03-27 21:44:30
Sass
Vasiliy, 2015-03-27 21:44:30

Koala does not compile scss file, where could be the error?

691a00dd462f4cf6ab1bc1ec4fbc774b.jpg

// Sass project settings, you can edit it and set custom settings.
{
  // The mappings of source directory and output directory
  "mappings": [
     {	
      "src": "sass/style.scss",
     	"dest": "stylesheets/style.css"
     }
  ],

  // Add the ignore rules that Koala will not search them.
  // e.g. ["*.json", "*.txt", "test", "path/libs"]
  "ignores": ["*.css"],

  // Compile options of Sass.
  "options": {

    // Output style. Can be nested (default), compact, compressed, or expanded.
    "outputStyle": "nested",

    // Emit comments in the generated CSS indicating the corresponding source line.
    "lineComments": false,

    // Emit extra information in the generated CSS that can be used by the FireSass Firebug plugin.
    "debugInfo": false,

    // Create sourcemap files next to the generated CSS files
    "sourceMap": false,

    // Use Unix-style newlines in written files.
    "unixNewlines": false,

        // auto add vendor prefixes to rules
        "autoprefix": false
  },

  // Other compile options, use the full name of options.
  // e.g, ["--scss", ... ,"--no-cache"].
  // Run the command 'sass -h' to see more options.
  "customOptions": [],

  // An array of filesystem paths or importers which should be searched for Sass templates imported with the @import directive.
  "includePaths": ["--load-path sass/base.scss",
                        "--load-path sass/typography.scss",
                      "--load-path sass/grids.scss"],

  // A array of ruby libraries, require them before running Sass.
  "requireLibs": []
}
these are the settings from the project

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Goncharov, 2015-03-27
@VasiliySidorenko63

You need to use Sass 3.3+ and install the Susy gem itself, maybe Koala won't catch it. For example, Prepros cannot be forced to use custom Sass (not the one in the box) and, accordingly, use third-party gems, maybe in Koala the same story.

O
OnYourLips, 2015-03-27
@OnYourLips

A koala can never clearly write mistakes.
I advise you to abandon it and write tasks for gulp.

D
Dmitry Khristoev, 2015-08-21
@Haoss

C:\Program Files (x86)\Koala\app\scripts\compilers file SassCompiler
exec(command, {timeout: 10000, maxBuffer: 2000*1024}, function (error, stdout, stderr) {
default timeout 5000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question