To switch to a different environment, you need to set the NODE_ENV environment variable which
will cause the frontend to use a different environment configuration json.
Powershell
Get-Childitem env:NODE_ENV- Gets current environment (if there is any)Set-Item -path env:NODE_ENV -value 'test'Sets test environmentSet-Item -path env:NODE_ENV -value ''Delete environment variable
Conemu
- Settings > Startup > Environment
set NODE_ENV=test
CMD
set NODE_ENV=test
OSX
export NODE_ENV=test