Skip to content

Commit

Permalink
use webpack-dev-server as start task and update Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraichen committed Aug 7, 2019
1 parent 8ac2644 commit a9ba371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: bin/rails server --port 9001
assets: bin/webpack-dev-server
assets: yarn start
consumer: bin/rake mnemosyne:consume
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"scripts": {
"build": "webpack --config config/assets/webpack.config.js",
"serve": "webpack-dev-server --config config/assets/webpack.config.js"
"start": "webpack-dev-server --config config/assets/webpack.config.js"
},
"browserslist": [
"last 1 chrome versions"
Expand Down

0 comments on commit a9ba371

Please sign in to comment.