apache / cordova-browser

Apache Cordova
Apache License 2.0
170 stars 85 forks source link

No longer need to kill Chrome to run #1

Closed mmocny closed 9 years ago

mmocny commented 9 years ago

The instructions to run browser platform started with: "kill chrome". With this patch, you will use a temporary chrome user data dir (profile), which will allow you to create a second chrome process with the appropriate flags applied.

mmocny commented 9 years ago

..only tested on Mac.

stevengill commented 9 years ago

Sweet! I will take it for a spin on Windows!

stevengill commented 9 years ago

I merged this in, added support for windows to browser platform. Ran into an issue with getting temporary chrome user data dir to work with windows. It worked fine if I ran the command from powershell or CMD. Had errors when I ran it from spawn.

This exact error. http://stackoverflow.com/questions/13211706/node-js-windows-7-spawn-chrome-cant-set-user-data-dir