To make watch
Twitter Bootstrap, are we supposed to use watchr for Node.js or gem watchr? This discussion suggested to use gem watchr.
I tried it with gem watchr, installed by (as instructed in https://github.com/mynyml/watchr):
gem install watchr
gem install rev
gem install ruby-fsevent
, as I was on Mac OS X 1.8.3
But, make watch
didn't trigger make when there was a change in one of the LESS files.
$ make watch
echo "Watching less files..."; \
watchr -e "watch('js/.*\.js') { system 'make' }"
Watching less files...
# ... nothing happened after this
Then, I also tried using Node.js watchr but no luck either. I verified that watchr is installed in my Node.js:
$ npm ls -g
...
└─┬ watchr@2.4.3
├─┬ bal-util@2.0.5
...
Help, please?