lib/sewing_kit/webpack/dev.rb in sewing_kit-0.128.0 vs lib/sewing_kit/webpack/dev.rb in sewing_kit-0.129.0
- old
+ new
@@ -37,25 +37,25 @@
) || exit(1)
end
def handle_exit
return if $ERROR_INFO.nil?
- Process.kill 'SIGTERM', pid
+ Process.kill('SIGTERM', pid)
rescue Errno::ESRCH
nil
end
def detach
- Process.detach pid
+ Process.detach(pid)
end
def command
command_list = [
'node',
heap_config,
sewing_kit_bin,
'dev',
- '--logLevel',
+ '--log-level',
log_level,
].compact.concat(options)
if debug_mode?
command_list.push(['--debug'])