Explain what gulp watch is doing and why it keeps running

This commit is contained in:
Alexandre Aubin 2016-11-26 21:30:34 -05:00
parent 7a05e9222c
commit ec508ce774

View file

@ -274,6 +274,13 @@ elif [ "$1" = "use-git" ]; then
# Symlink from Git repository
sudo ln -s -f /vagrant/yunohost-admin/src /usr/share/yunohost/admin
echo "--------------------------------------------------------"
echo "Launching gulp ... "
echo "NB : This command will keep running and watch for changes"
echo " in the folder /vagrant/yunohost-admin/src, such that you"
echo "don't need to re-run npm yourself everytime you change"
echo "something !"
echo "--------------------------------------------------------"
sudo su -c "gulp watch --dev" vagrant
;;