Packages

A SASS plugin for elixir projects

Current section

Files

Jump to
sass_elixir lib mix tasks sass.watch.ex
Raw

lib/mix/tasks/sass.watch.ex

defmodule Mix.Tasks.Sass.Watch do
use Mix.Task
import Mix.Tasks.Sass
def run(args) do
opts = parse_opts(args)
command = "sass --watch "<>opts[:input]<>":"<>opts[:output]
Mix.shell.cmd(command)
end
end