Skip to content

Instantly share code, notes, and snippets.

@wess
Last active February 24, 2018 03:16
Show Gist options
  • Save wess/7a4a1564a34f3dde249679e76b283f03 to your computer and use it in GitHub Desktop.
Save wess/7a4a1564a34f3dde249679e76b283f03 to your computer and use it in GitHub Desktop.
Makefile for Vapor using Watchman to restart on change.
all: build run
clean:
@vapor clean
build:
@vapor build
run:
@vapor run
watch:
@watchman-make -p 'Resources/**/*.*' 'Public/**/*.*' 'Sources/**/*.*' -t 'all'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment