Closed kevinburke closed 6 years ago
Right now we run make assets serve but there's no need to run make assets if none of the mtimes on the assets are updated.
make assets serve
make assets
The assets target should specify all of the files it depends on, then it can check the mtimes on those to figure out whether it needs to recompile.
assets
Same for go install, we can skip it if none of the files changed.
go install
This has been addressed, both by changes to Go and changes to the Makefile.
Right now we run
make assets serve
but there's no need to runmake assets
if none of the mtimes on the assets are updated.The
assets
target should specify all of the files it depends on, then it can check the mtimes on those to figure out whether it needs to recompile.Same for
go install
, we can skip it if none of the files changed.