Permalink
Browse files

merge randy/starting-live-dev branch

  • Loading branch information...
1 parent 414a508 commit 57fb5a0d4763c3ebeb0f06f81e715bf4ea8a1753 @redmunds redmunds committed Mar 13, 2013
Showing with 1 addition and 7 deletions.
  1. +1 −7 src/LiveDevelopment/LiveDevelopment.js
@@ -557,15 +557,9 @@ define(function LiveDevelopment(require, exports, module) {
if (!browserStarted && exports.status !== STATUS_ERROR) {
url = launcherUrl + "?" + encodeURIComponent(url);
- // If err === FileError.ERR_NOT_FOUND, it means a remote debugger connection
- // is available, but the requested URL is not loaded in the browser. In that
- // case we want to launch the live browser (to open the url in a new tab)
- // without using the --remote-debugging-port flag. This works around issues
- // on Windows where Chrome can't be opened more than once with the
- // --remote-debugging-port flag set.
NativeApp.openLiveBrowser(
url,
- err !== NativeFileError.ERR_NOT_FOUND
+ true // enable remote debugging
)
.done(function () {
browserStarted = true;

0 comments on commit 57fb5a0

Please sign in to comment.