Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start server with --log-format none #18

Closed
adambiggs opened this issue Aug 25, 2015 · 3 comments
Closed

Can't start server with --log-format none #18

adambiggs opened this issue Aug 25, 2015 · 3 comments

Comments

@adambiggs
Copy link

Starting with v0.5.20, it's not possible to disable console logging.

$ ws --log-format none

/Users/adam/.nvm/versions/node/v0.12.4/lib/node_modules/local-web-server/node_modules/connect/index.js:87
  if (typeof handle.handle === 'function') {
                   ^
TypeError: Cannot read property 'handle' of undefined
    at Function.use (/Users/adam/.nvm/versions/node/v0.12.4/lib/node_modules/local-web-server/node_modules/connect/index.js:87:20)
    at launchServer (/Users/adam/.nvm/versions/node/v0.12.4/lib/node_modules/local-web-server/bin/ws.js:113:9)
    at Object.<anonymous> (/Users/adam/.nvm/versions/node/v0.12.4/lib/node_modules/local-web-server/bin/ws.js:88:5)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

All other logging modes seem to work fine.

@75lb
Copy link
Member

75lb commented Aug 25, 2015

Fixed and released, thanks for the report

@adambiggs
Copy link
Author

That was fast! 🍻

@75lb
Copy link
Member

75lb commented Aug 26, 2015

it would have been done quicker if i had a reliable wifi connection atm! tbh it was a simple fix.. i have a couple of new features to add when i get time - proxying and user-defined routes..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants