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

Example works fine but when inside index.js chrome exits immedietly #35

Open
deliverymanager opened this issue May 25, 2015 · 1 comment

Comments

@deliverymanager
Copy link

I am on Windows 7.
Node 0.10.33
The example as I said work fine. The browser opens and stays open until I close it and the stop event is called.
But when I place the launch code inside my app, it doesn't work as expected. Chrome never launches and the stop event is called almost immediately.
I am using forever-monitor for node app.
The browser-launcher2 is called when the server accept a post API.

Any ideas why this isn't working as expected and the browser stops immediately?
What am I missing?
Thank you

@deliverymanager
Copy link
Author

The only thing I can imagine is that it cannot be a child process. Inside another js file and get called. It needs to be called directly as a parent process.
This is my only guess why it is not working as expected.

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

1 participant