lib/vite_ruby/cli/build.rb in vite_ruby-3.0.0 vs lib/vite_ruby/cli/build.rb in vite_ruby-3.0.1

- old
+ new

@@ -4,9 +4,10 @@ DEFAULT_ENV = CURRENT_ENV || 'production' desc 'Bundle all entrypoints using Vite.' shared_options option(:force, desc: 'Force the build even if assets have not changed', type: :boolean) + option(:watch, desc: 'Start the Rollup watcher and rebuild on files changes', type: :boolean) def call(**options) super { |args| ViteRuby.commands.build_from_task(*args) } end end