Fix makefile to npm install when package.json changes. (#94)
This commit is contained in:
parent
1ce44fa2a3
commit
ef0ac3babb
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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 $@
|
||||||
|
|
Reference in a new issue