Skip to content

Commit 7de747d

Browse files
mxkxfgaearon
authored andcommitted
Added note about env server restart (facebook#903)
* Added note about env server restart As discussed in [facebook#870](facebook#870) * Style nit
1 parent 7c6f0b7 commit 7de747d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-scripts/template/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ default you will have `NODE_ENV` defined for you, and any other environment vari
444444
variable named `REACT_APP_SECRET_CODE` will be exposed in your JS as `process.env.REACT_APP_SECRET_CODE`, in addition
445445
to `process.env.NODE_ENV`.
446446
447+
>Note: Changing any environment variables will require you to restart the development server if it is running.
448+
447449
These environment variables can be useful for displaying information conditionally based on where the project is
448450
deployed or consuming sensitive data that lives outside of version control.
449451

0 commit comments

Comments
 (0)