Found a 'solution':

put the instructions for watchr in a seperate file and call watchr in the 
Makefile to read that script.
Then, make still exits the directory-structure (for whatever reason) but 
watchr is still monitoring filechanges!

Cheers!

Ulrich

Am Donnerstag, 19. April 2012 03:59:00 UTC+2 schrieb Ulrich Steffens:
>
> Hi group,
> I'm experiencing the following problem with 'make watch' and can't figure 
> it out:
>
> when i run 'make watch' and edit a file, watchr detects the change, calls 
> make and everything gets compiled.
> BUT at the end of the command chain, make says
>   make[1]: Leaving Directory 'path/to/bootstrap'
> after that, watchr no longer detects file-changes since it's not the in 
> the right directory anymore.
>
> This happens on ubuntu linux 12.04, node/less/watchr/etc are all the 
> latest versions.
>
> Has someone a hint?
>
> Thanks in advance,
>  Ulrich
>

Reply via email to