lib/origen/commands/web.rb in origen-0.22.0 vs lib/origen/commands/web.rb in origen-0.23.0
- old
+ new
@@ -133,16 +133,17 @@
when 'serve'
_start_server
when 'new'
_build_web_dir
when 'compile'
- Origen.app.load_target!
if options[:remote]
+ Origen.app.load_target!
_require_web_directory
_deployer.prepare!(options)
# If the whole site has been requested that start from a clean slate
_build_web_dir if ARGV.empty?
else
+ Origen.app.load_target!(force_debug: true)
Origen.set_development_mode
end
options[:files] = ARGV.dup
if ARGV.empty?
_build_web_dir