Archived
1
0

vscode-online -> vscode-remote

This commit is contained in:
Asher
2019-02-05 15:26:57 -06:00
parent 7021826e9d
commit 70ad911641
7 changed files with 14 additions and 14 deletions

View File

@ -72,7 +72,7 @@ export class Entry extends Command {
return requireModule(modulePath, builtInExtensionsDir);
}
const dataDir = flags["data-dir"] || path.join(os.homedir(), ".vscode-online");
const dataDir = flags["data-dir"] || path.join(os.homedir(), ".vscode-remote");
const workingDir = args["workdir"];
if (process.env.BUILD_DIR && process.env.BUILD_DIR.startsWith(workingDir)) {
@ -122,7 +122,7 @@ export class Entry extends Command {
next();
});
if ((process.env.CLI === "false" || !process.env.CLI) && !process.env.SERVE_STATIC) {
const webpackConfig = require(path.join(__dirname, "..", "..", "web", "webpack.dev.config.js"));
const webpackConfig = require(path.join(__dirname, "..", "..", "web", "webpack.config.js"));
const compiler = require("webpack")(webpackConfig);
app.use(require("webpack-dev-middleware")(compiler, {
logger,

View File

@ -23,7 +23,7 @@ export type SharedProcessEvent = {
export class SharedProcess {
public readonly socketPath: string = path.join(os.tmpdir(), `.vscode-online${Math.random().toString()}`);
public readonly socketPath: string = path.join(os.tmpdir(), `.vscode-remote${Math.random().toString()}`);
private _state: SharedProcessState = SharedProcessState.Stopped;
private activeProcess: ChildProcess | undefined;
private ipcHandler: StdioIpcHandler | undefined;