Sha256: c3584832e366fce25e63c77e3ef28aa351212d5957596b09747130cc9975b5ba

Contents?: true

Size: 338 Bytes

Versions: 12

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

class ViteRuby::CLI::Dev < ViteRuby::CLI::Build
  DEFAULT_ENV = CURRENT_ENV || 'development'

  desc 'Start the Vite development server.'
  shared_options
  option(:force, desc: 'Force Vite to re-bundle dependencies', type: :boolean)

  def call(**options)
    super { |args| ViteRuby.run(args) }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vite_ruby-1.2.8 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.7 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.6 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.5 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.4 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.3 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.2 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.1 lib/vite_ruby/cli/dev.rb
vite_ruby-1.2.0 lib/vite_ruby/cli/dev.rb
vite_ruby-1.1.2 lib/vite_ruby/cli/dev.rb
vite_ruby-1.1.1 lib/vite_ruby/cli/dev.rb
vite_ruby-1.1.0 lib/vite_ruby/cli/dev.rb