Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

added webpack-dev-middleware #493

Merged
merged 1 commit into from
Aug 10, 2017
Merged

added webpack-dev-middleware #493

merged 1 commit into from
Aug 10, 2017

Conversation

dannycoates
Copy link
Contributor

Now npm start or npm run dev will rebuild js bundles when the source changes on localhost.

server/server.js Outdated
@@ -38,6 +38,17 @@ function prodLangs() {

const availableLanguages = conf.l10n_dev ? allLangs() : prodLangs();

if (conf.env !== 'production') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm, the send.stage.mozaws.net server runs in a NODE_ENV="production" environment, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, but === 'development' is better

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants