Install Sass on Ubuntu for Dart

Finally I choose to use a css pre-processing tools. Regarding the choice SCSS vs LESS, I chose SCSS after reading some blogs. (dartlang site is using sass, sass can generate map debuggable in chrome).
sudo apt-get install ruby1.9.1
sudo gem install sass
I did not use the watcher but simply modify my build.dart file to process scss file when changed
changed.forEach((filename) {
  if (extension(filename) == ".scss") {
    Process.run("sass", [ filename, withoutExtension(filename) + ".css" ]);
  };
});

Popular posts from this blog

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

Install Maven 3.1.1 on Ubuntu 13.10