Class: MiddlemanWebpacked::Server
- Inherits:
-
CommandRunner
- Object
- CommandRunner
- MiddlemanWebpacked::Server
- Defined in:
- lib/middleman-webpacked/server.rb
Constant Summary
Constants inherited from CommandRunner
Instance Attribute Summary
Attributes inherited from CommandRunner
Instance Method Summary collapse
Methods inherited from CommandRunner
bin, #command, #entries, #initialize, #loaders, mode, satisfy?
Constructor Details
This class inherits a constructor from MiddlemanWebpacked::CommandRunner
Instance Method Details
#setup ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/middleman-webpacked/server.rb', line 6 def setup @arguments.push( '--hot', '--progress', '--color', '--inline', '--content-base source', "--output-public-path http://localhost:8080/#{app.config[:js_dir]}", "--config #{app.root_path}/config/webpack/development.js" ) end |