run-sass

1.0.1 • Public • Published

run-sass

Package to manage and compile sass-files at startup or in runtime without restarting.

This package will manage and compile .sass or .scss-files. At startup it will compile each file from sourceDir (.sass || .scss) into destinationDir (.css) The file-watcher manages the file-changes, -removes or -creations and handle the files on each event.

Installing

npm install run-sass --save

Use

var sass = new Sass({ sourceDir : __dirname + '/sass', destinationDir : __dirname + '/css' }) 
sass.run()

Authors

  • Yannick Grund - Initial work - yamigr

License

This project is licensed under the MIT License

Package Sidebar

Install

npm i run-sass

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

6.13 kB

Total Files

8

Last publish

Collaborators

  • yamigr