code-prettify

2016年5月19日 星期四

Linux auto build project when file modify

Arch auto build qt project when file modify use inotify-tools

#install inotify tools
pacman -S inotify-tools

# write a monitor script
autobuild.sh

=== Refference ===
Github - inotify-tools
https://github.com/rvoicilas/inotify-tools/wiki

inotifywait(1) - Linux man page
http://linux.die.net/man/1/inotifywait






1 則留言: