Skip to content

Commit

Permalink
Merge pull request #1 from entrop-/patch-1
Browse files Browse the repository at this point in the history
added grunt watch functionality
  • Loading branch information
lukaszolszewski authored Feb 28, 2017
2 parents bdc1de5 + 483ca42 commit 3c233ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mage2docker.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ _mage2docker() {
compadd $(_docker_get_container_name)
;;
command)
compadd "$@" bash-www bash logs magento mage mage-cache mage-di mage-upgrade mage-report mage-log grunt rename rm restart stop inspect top
compadd "$@" bash-www bash logs magento mage mage-cache mage-di mage-upgrade mage-report mage-log grunt watch rename rm restart stop inspect top
;;
options)
case $words[3] in
Expand Down Expand Up @@ -91,6 +91,9 @@ mage2docker () {
grunt)
docker exec -it -u www-data $1 grunt
;;
watch)
docker exec -it -u www-data $1 grunt watch
;;
mage-report)
docker exec -it -u www-data $1 cat var/report/$3
;;
Expand Down

0 comments on commit 3c233ed

Please sign in to comment.