choonkeat / elm-webapp

A setup for writing http based, client-server app in elm, inspired wholly by lamdera.com
https://package.elm-lang.org/packages/choonkeat/elm-webapp/latest
MIT License
57 stars 7 forks source link

add make targets "install-wait-for-changes" and "install-wait-for-changes" #9

Closed choonkeat closed 2 years ago

choonkeat commented 2 years ago

to replace direct call to node scripts/wait-for-changes.js .

closes https://github.com/choonkeat/elm-webapp/issues/8

on Linux, if inotifywait executable is not found,

$ make install

you will need "inotifywait" by installing "inotify-tools" with your package manager

    e.g. apk add inotify-tools
         apt-get install inotify-tools

make: *** [Makefile:54: install-wait-for-changes] Error 1

I'll leave the developer to do their own apt-get install inotify-tools or apk add inotify-tools instead of invoking it on behalf.