From 6f2a91814ace90506d547654777b9c53440659a6 Mon Sep 17 00:00:00 2001 From: Sara Vieira Date: Thu, 16 Jul 2020 16:23:05 +0200 Subject: [PATCH] add env variable to sse docs (#4557) --- packages/homepage/content/docs/7-environment.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/homepage/content/docs/7-environment.md b/packages/homepage/content/docs/7-environment.md index 3a07c81a285..26c7d83ba6a 100644 --- a/packages/homepage/content/docs/7-environment.md +++ b/packages/homepage/content/docs/7-environment.md @@ -62,3 +62,11 @@ will cause the files shown in the Editor to become out of sync, such as manually running `yarn add` or running `git` commands. We don't sync files and directories that are ignored via `.gitignore`, and there is a sync limit of 10 files per second and a maximum file size of 2mb. + +## How can I tell if I am in a container sandbox? + +When you are in a container sandbox an environment variable called +`CODESANDBOX_SSE` will be available and you can always use it to check what your +current environment is. + +https://codesandbox.io/s/codesandboxsse-example-spgyv