lib/jets/core.rb in jets-1.0.13 vs lib/jets/core.rb in jets-1.0.15
- old
+ new
@@ -164,8 +164,14 @@
path = "#{Jets.root}rack"
File.exist?(path) || File.symlink?(path)
end
def lazy_load?
+ return false if poly_only? # no need to lazy load when poly_only?
config.ruby.lazy_load
+ end
+
+ def poly_only?
+ return true if ENV['JETS_POLY_ONLY'] # bypass to allow rapid development of handlers
+ Jets::Commands::Build.poly_only?
end
end