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

OSX: preventing crashes on local development #7

Open
scien opened this issue Nov 28, 2013 · 0 comments
Open

OSX: preventing crashes on local development #7

scien opened this issue Nov 28, 2013 · 0 comments

Comments

@scien
Copy link
Contributor

scien commented Nov 28, 2013

"lt3 dev" server sometimes crashes on OSX with node 0.8.x on an Abort 6 error. Updating to 0.10.x may prevent some of that as there have been updates to watch for errors like this in some core libraries. The main issue is that the server should restart in the case of a crash like this.

Let's research/discuss the best way to handle this.

one option is to use the built-in cluster to listen for failure and spawn a new process. I haven't tested cluster out on windows, so not sure if we'd run into issues there.

Another point of discussion would be how to re-auth the user after a crash. Right now authentication happens when connecting in the browser, maybe we should consider using the local auth token stored in .lt3_config on server startup.

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

No branches or pull requests

2 participants