Skip to content

Commit

Permalink
Heroku prebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoTN committed Apr 23, 2017
1 parent f662926 commit 701f884
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"redux-saga-router": "file:./redux-saga-router"
},
"scripts": {
"heroku-prebuild": "npm install -g babel-cli rimraf && cd redux-saga-router && npm install && cd ..",
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"test": "node scripts/test.js --env=jsdom"
Expand Down
2 changes: 1 addition & 1 deletion src/shared/routes.sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { fetchPendingMembers, fetchTeams } from '../teams/teams.sagas';
import { cleanNotifications } from './shared.sagas';

const options = {
shouldFallThrough: true,
matchAll: true,
beforeRouteChange: cleanNotifications,
};

Expand Down

0 comments on commit 701f884

Please sign in to comment.