Sha256: 7cc8f77da74ef163d871b434a3a81a16315e7abb34b49800f80e360f4a25a1ff

Contents?: true

Size: 228 Bytes

Versions: 4

Compression:

Stored size: 228 Bytes

Contents

#!/usr/bin/env ruby

ENV['RAILS_ENV'] ||= 'development'
ENV['NODE_ENV'] ||= ENV['RAILS_ENV']

BIN_PATH = File.expand_path('.', __dir__)

Dir.chdir(BIN_PATH) do
  exec "./webpack --watch --progress --color #{ARGV.join(" ")}"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
railman-1.0.3 templates/rails_app/bin/webpack-watcher
railman-1.0.2 templates/rails_app/bin/webpack-watcher
railman-1.0.1 templates/rails_app/bin/webpack-watcher
railman-1.0.0 templates/rails_app/bin/webpack-watcher