Skip to content

Commit

Permalink
Remove client-dev command. Add ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Mironchik committed Jul 25, 2016
1 parent 433a882 commit 9b07cac
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
test-variables = NODE_PATH=. NODE_ENV=test
test-variables = NODE_PATH=. NODE_ENV=test PORT=1337
test-options = --compilers js:babel-register --require babel-polyfill --recursive -R min -g $(if $(GREP),'$(GREP)','')
server-file = ./server/bin/www

install:
npm install

development:
NODE_ENV=development nodemon $(server-file)
NODE_ENV=development PORT=3000 nodemon $(server-file)

production:
NODE_ENV=production node $(server-file)

client-dev:
NODE_ENV=development node $(server-file)
NODE_ENV=production PORT=8080 node $(server-file)

build-client:
NODE_ENV=production webpack -p --config webpack.config.prod.js
Expand Down

0 comments on commit 9b07cac

Please sign in to comment.