hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit f3bc964181ac656eb9ca2260c7151eee8cf0bbd9
parent f396b1bcf5bd07299df60a3b870235a4dd59e6c8
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun,  5 Mar 2017 08:09:31 -0500

Add watch to the manuelfile

Diffstat:
Mmanuelfile | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/manuelfile b/manuelfile @@ -1,5 +1,7 @@ #!/bin/bash +load_plugin manuel-contrib-watch + # Run this task with: $ manuel build function build () { ./frontend @@ -24,3 +26,13 @@ function deploy () { echo "- ... and deployed!" } + +# Watch +function wait_for_change { + + declare -A actions=( + [".*\.css$"]="echo 'we should concat and minify the js again'" + ) + + manuel_watch . +}