syncing master

This commit is contained in:
Senad Uka
2017-11-21 17:11:29 +01:00
parent 0eee92660a
commit b4e45199b7
47 changed files with 5666 additions and 263 deletions

16
watch.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
# Watches for changes in the files and passes to docker
# ignores the folders: node_modules, .git
cwd=$(pwd)
fswatch -0 -e node_modules -e .git -e env . | while read -d "" absPath
do
shortPath=""
shortPath=${absPath/$cwd/$shortPath}
echo "${shortPath}"
docker cp $absPath helix:project${shortPath}
done