blob: 3eefb2ea69c499598f580204e22bad3a96031f33 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var childProcess = require('child_process');
var path = require('path');
var chrome = childProcess.fork('scripts/hosted_mode/launch_chrome.js', process.argv.slice(2));
var server = childProcess.fork('scripts/hosted_mode/server.js');
chrome.on('exit', function() {
server.kill();
});