Add dev mode constant

This commit is contained in:
Asher
2021-05-05 10:16:01 -05:00
parent 75e9e24e92
commit 92bf2c9760
2 changed files with 4 additions and 3 deletions

View File

@ -20,3 +20,4 @@ export const version = pkg.version || "development"
export const commit = pkg.commit || "development"
export const rootPath = path.resolve(__dirname, "../..")
export const tmpdir = path.join(os.tmpdir(), "code-server")
export const isDevMode = commit === "development"