Module: Sunniesnow::Charter::CLI::FilewatcherPatch

Defined in:
lib/sscharter/cli.rb

Instance Method Summary collapse

Instance Method Details

#exitObject

This is a hack. See: github.com/filewatcher/filewatcher/blob/v2.0.0/lib/filewatcher.rb#L42 The ‘exit` call here will cause the WEBrick server to report a fatal error.



61
62
63
# File 'lib/sscharter/cli.rb', line 61

def exit
  stop
end