Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Very minor changes to the CLI output text

Just making the output look a bit nicer.

Yes, it's definately anal retentive ;-)
  • Loading branch information...
commit df9ddadca7d82dbee06c10d5b099cdd43a182c97 1 parent 3badda9
@kematzy kematzy authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/guard/sprockets.rb
View
6 lib/guard/sprockets.rb
@@ -23,9 +23,10 @@ def initialize(watchers=[], options={})
end
def start
- UI.info "Sprockets waiting for asset file changes..."
+ UI.info "Sprockets activated..."
UI.info " -- external asset paths = [#{@asset_paths.inspect}]" unless @asset_paths.empty?
UI.info " -- destination path = [#{@destination.inspect}]"
+ UI.info "Sprockets is ready and waiting for some file changes..."
end
def run_all
@@ -50,11 +51,12 @@ def sprocketize(path)
end
output_file = Pathname.new(File.join(@destination, output_basename))
- UI.info "Sprockets creating file #{output_file}"
+ UI.info "Sprockets started compiling #{output_file}"
FileUtils.mkdir_p(output_file.parent) unless output_file.parent.exist?
output_file.open('w') do |f|
f.write @sprockets_env[output_basename]
end
+ UI.info "Sprockets finished compiling #{output_file}"
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.