Class: SewingKit::Webpack::Dev
- Inherits:
-
Object
- Object
- SewingKit::Webpack::Dev
- Defined in:
- lib/sewing_kit/webpack/dev.rb
Defined Under Namespace
Classes: NodeSewingKitNotInstalled
Instance Attribute Summary collapse
-
#pid ⇒ Object
Returns the value of attribute pid.
Instance Method Summary collapse
Instance Attribute Details
#pid ⇒ Object
Returns the value of attribute pid.
17 18 19 |
# File 'lib/sewing_kit/webpack/dev.rb', line 17 def pid @pid end |
Instance Method Details
#start ⇒ Object
19 20 21 22 23 |
# File 'lib/sewing_kit/webpack/dev.rb', line 19 def start @pid = spawn at_exit { handle_exit } detach end |