lib/coffeescript.rb in capucine-0.2.5 vs lib/coffeescript.rb in capucine-0.2.9

- old
+ new

@@ -8,10 +8,10 @@ end def run_once(file = nil) unless file - files = Dir.glob(File.join @cap.settings.working_dir, @cap.settings.conf['coffeescript_output_dir'], '*') + files = Dir.glob(File.join @cap.settings.working_dir, @cap.settings.conf['coffeescript_output_dir'], '*.js') FileUtils.rm_r files self.compile_dir @cap.settings.conf['coffeescript_files_dir'], @cap.settings.conf['coffeescript_output_dir'] else self.compile_dir file, @cap.settings.conf['coffeescript_output_dir'] end