Skip to content

Commit

Permalink
Merge pull request #10 from nilotpaul/cli
Browse files Browse the repository at this point in the history
fix: makefile dev cmd won't reload browser when changes applied in any go file
  • Loading branch information
nilotpaul authored Nov 25, 2024
2 parents 40a5777 + d7b89a1 commit 10d41c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template/base/makefile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dev:
-file=.html \
-file=.css \
-xdir=public \
ENVIRONMENT=DEVELOPMENT go build -tags 'dev' -o bin/build main.go \
go build -tags 'dev' -o bin/build main.go \
:: ENVIRONMENT=DEVELOPMENT ./bin/build \
:: wgo -dir=web node ./esbuild.config.js \
:: wgo -dir=node_modules npx livereload -w 1000 web
:: wgo -xdir=bin -xdir=node_modules -xdir=public node ./esbuild.config.js \
:: wgo -dir=node_modules npx livereload public

0 comments on commit 10d41c1

Please sign in to comment.