ignore /\.hg/
ignore /\.orig$/
ignore /\.sublime-project$/
ignore /\.sublime-workspace$/
ignore /sftp-config.json$/


# guard 'sass', :input => 'scss', :output => 'css', :style => :compressed, :debug_info => true 
# guard 'sass', :input => 'admin/scss', :output => 'admin/css', :style => :compressed, :debug_info => true 

require 'benchmark'
watch(/^.*\.scss$/) do
  time = Benchmark.realtime do
   puts `/usr/local/bin/sass --update --no-error-css --color --style=compressed scss/:css/ admin/scss/:admin/css/`
  end
  puts "sass - #{time}s"
end

# opts = {
# 	 # Protocol used to connect to remote host. Possible values are :scp, :sftp and :ftp.
# 	 # Of these :scp is the preferred one for # its stability.
# 	 :protocol => :sftp,

# 	 :host => "trilix-vmweb02.abe01.flexms.net",
# 	 :user => "grid",
# 	 :password => "o4dMeSR3",
# 	 :remote => "/htdocs",

# 	 # if true you get all outputs
# 	 :verbose => false,
# 	 # if true outputs only on exceptions.
# 	 :quiet => false,

# 	 # Uncomment this if you need to set port to something else than default.
# 		 # :port => 22,            
# 	}
	
# guard :autoupload, opts do
# 	watch(/^((?!Guardfile$|.*\.scss).)*$/)
# end
