Fix makefile to npm install when package.json changes. (#94)

This commit is contained in:
Christopher Speller 2020-04-28 06:43:35 -07:00 committed by GitHub
parent 1ce44fa2a3
commit ef0ac3babb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ ifneq ($(HAS_SERVER),)
endif endif
## Ensures NPM dependencies are installed without having to run this all the time. ## Ensures NPM dependencies are installed without having to run this all the time.
webapp/.npminstall: webapp/.npminstall: webapp/package.json
ifneq ($(HAS_WEBAPP),) ifneq ($(HAS_WEBAPP),)
cd webapp && $(NPM) install cd webapp && $(NPM) install
touch $@ touch $@