lib/gumdrop/server.rb in gumdrop-0.2.10 vs lib/gumdrop/server.rb in gumdrop-0.2.11
- old
+ new
@@ -16,10 +16,10 @@
get '/*' do
file_path= get_content_path params[:splat].join('/')
if Gumdrop.config.force_reload
- unless %w(.css .js .jpg .jpe .jpeg .gif .ico .png).include? File.extname(file_path).to_s
+ unless %w(.jpg .jpe .jpeg .gif .ico .png).include? File.extname(file_path).to_s
Gumdrop.run :dry_run=>true
end
end
if Gumdrop.site.has_key? file_path
\ No newline at end of file