{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/watchman/issues/89","labels_url":"https://api.github.com/repos/facebook/watchman/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/facebook/watchman/issues/89/comments","events_url":"https://api.github.com/repos/facebook/watchman/issues/89/events","html_url":"https://github.com/facebook/watchman/issues/89","id":65030563,"number":89,"title":"Watchman and scss : trying to get a simple example to work ","user":{"login":"rhacker","id":2028062,"avatar_url":"https://avatars.githubusercontent.com/u/2028062?v=3","gravatar_id":"","url":"https://api.github.com/users/rhacker","html_url":"https://github.com/rhacker","followers_url":"https://api.github.com/users/rhacker/followers","following_url":"https://api.github.com/users/rhacker/following{/other_user}","gists_url":"https://api.github.com/users/rhacker/gists{/gist_id}","starred_url":"https://api.github.com/users/rhacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhacker/subscriptions","organizations_url":"https://api.github.com/users/rhacker/orgs","repos_url":"https://api.github.com/users/rhacker/repos","events_url":"https://api.github.com/users/rhacker/events{/privacy}","received_events_url":"https://api.github.com/users/rhacker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-29T06:39:20Z","updated_at":"2015-03-29T06:39:20Z","closed_at":null,"body":"I really love to make watchman work for me, but somehow it doesn't work. Here is what I have tried : \r\n\r\n```Makefile\r\nSASSC=sass\r\n\r\n# CSS\r\nwatch:\r\n        watchman watch $(shell pwd)\r\n        watchman -- trigger $(shell pwd) remake *.scss -- make dist/main.css\r\n\r\ndist/main.css: css/main.scss\r\n        $(SASSC) $< > $@\r\n\r\n.PHONY: dist/main.css watch\r\n```\r\n\r\nThe problem when I change `css/main.scss`. Watchman triggers the build, and the make command doesn't seem to do the same thing when I run it in shell. I have an error ( shown below ) and from now on, watchman doesn't run the trigger on watched files anymore. \r\n```\r\n1427610755: tid=3675723520 envp[52] CACHE_FLAG=0\r\n1427610755: tid=3675723520 envp[53] LEIN_ROOT=1\r\n1427610755: tid=3675723520 envp[54] TMUX=/tmp/tmux-0/default,90,0\r\n1427610755: tid=3675723520 envp[55] GOROOT=/usr/local/go\r\n1427610755: tid=3675723520 envp[56] REDIS_PORT_6379_TCP_ADDR=172.17.0.2\r\n1427610755: tid=3675723520 trigger /var/www/html:remake pid=6621 ret=0 Success\r\nmake[1]: Entering directory `/var/www/html'\r\nsass css/main.scss > dist/main.css\r\nmake[1]: Nothing to be done for `css/main.scss'.\r\nmake[1]: Leaving directory `/var/www/html'\r\n```"}}