You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
384 B

  1. #!/usr/bin/env ruby
  2. ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
  3. ENV["NODE_ENV"] ||= ENV["NODE_ENV"] || "development"
  4. require "pathname"
  5. ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
  6. Pathname.new(__FILE__).realpath)
  7. require "rubygems"
  8. require "bundler/setup"
  9. require "webpacker"
  10. require "webpacker/dev_server_runner"
  11. Webpacker::DevServerRunner.run(ARGV)