Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cli:entr [2021-02-23] – ↷ Page moved from entr to cli:entr dcaicli:entr [2021-05-16] (current) dcai
Line 6: Line 6:
   * -r – Kill previously run command before executing command   * -r – Kill previously run command before executing command
   * -s – Use shell on first argument   * -s – Use shell on first argument
 +== trigger on changed files ==
 +<code>git status --porcelain | awk '{print $2}' | entr -c -r node app.js</code>
  
 == reload nodejs app == == reload nodejs app ==
cli/entr.1614041230.txt.gz · Last modified: by dcai