Skip to content

Commit

Permalink
feat(command-dev): set process.env.CONTEXT to dev (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-sully authored Jan 12, 2021
1 parent 4695ac9 commit b7bc393
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ const addEnvVariables = ({ log, teamEnv, addonsEnv, siteEnv, dotFilesEnv }) => {
})

process.env.NETLIFY_DEV = 'true'
process.env.CONTEXT = 'dev'
}

module.exports = {
Expand Down

0 comments on commit b7bc393

Please sign in to comment.