Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Fix: run the campaign reports consumer #252

Merged

Conversation

4iar
Copy link
Member

@4iar 4iar commented Dec 13, 2017

npm start doesn't start the campaign reports consumer, probably leading to some of the issues encountered in #226.

It seems that npm-run-all in package.json runs sequentially by default, so the feedback consumer is never started (it just waits for server/index.js to finish).

This PR just adds the --parallel flag to the npm start command so both the server and feedback consumer start together.

npm-run-all in package.json (npm start) seems to run the commands sequentially
by default, meaning that the campaign reports consumer is never started as it
waits for index.js to end.
Copy link
Contributor

@zhakk-harn zhakk-harn left a comment

Choose a reason for hiding this comment

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

Makes perfect sense

@zhakk-harn zhakk-harn merged commit 3e40665 into freeCodeCamp:staging Jan 6, 2018
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.

2 participants