Skip to content

Commit

Permalink
Added 'make restart' (mattermost#918)
Browse files Browse the repository at this point in the history
* Added 'make restart'

* Added help for 'make restart'
  • Loading branch information
hmhealey authored and enahum committed Mar 12, 2018
1 parent 6b0c5fb commit 6a53554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ run-fullmap: .yarninstall ## Runs the app with the JS mapped to source (good for
stop: ## Stops webpack
@echo Stopping changes watching

restart: | stop run ## Restarts the app

ifeq ($(OS),Windows_NT)
wmic process where "Caption='node.exe' and CommandLine like '%webpack%'" call terminate
else
Expand Down

0 comments on commit 6a53554

Please sign in to comment.