Class: DockerRailsProxy::WebpackDevServer

Inherits:
DockerMainApp show all
Defined in:
lib/docker_rails_proxy/commands/webpack_dev_server.rb

Constant Summary

Constants included from Callbacks

Callbacks::INHERITABLE_CALLBACKS, Callbacks::UNINHERITABLE_CALLBACKS

Instance Attribute Summary

Attributes inherited from Docker

#app_container_id, #docker_options

Attributes inherited from Base

#additional_arguments, #additional_arguments_options, #arguments

Instance Method Summary collapse

Methods inherited from Base

build_path, call, command, execute, #initialize

Methods included from Logger

included, #logger

Methods included from Rsync

included, #sync

Methods included from Callbacks

included

Methods included from InheritableAttributes

included

Constructor Details

This class inherits a constructor from DockerRailsProxy::Base

Instance Method Details

#processObject



3
4
5
6
# File 'lib/docker_rails_proxy/commands/webpack_dev_server.rb', line 3

def process
  command, *args = arguments
  execute "bin/webpack-dev-server #{command} #{args.join(' ')}"
end