Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Added --no-cache flag to sassc cmd in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexislozano committed Aug 13, 2019
1 parent a8da4a5 commit 715d982
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@ fn main() {

// Theming commons
Command::new("sass")
.args(&["src/www/app.scss", &format!("{}/app.css", out_dir)])
.args(&[
"--no-cache",
"src/www/app.scss",
&format!("{}/app.css", out_dir),
])
.status()
.unwrap();

// Breeze theme
Command::new("sass")
.args(&["src/www/breeze.scss", &format!("{}/breeze.css", out_dir)])
.args(&[
"--no-cache",
"src/www/breeze.scss",
&format!("{}/breeze.css", out_dir),
])
.status()
.unwrap();
}

0 comments on commit 715d982

Please sign in to comment.