Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error]... directory X is not watched #1

Open
dutzi opened this issue Jun 22, 2016 · 3 comments
Open

[error]... directory X is not watched #1

dutzi opened this issue Jun 22, 2016 · 3 comments
Labels

Comments

@dutzi
Copy link
Contributor

dutzi commented Jun 22, 2016

I don't know why this happens, but if you get something like this:

[error] unable to resolve root /Users/blah/project: directory /Users/blah/project is not watched

Running this should fix it:

watchman watch /Users/blah/project

I'll try finding an actual solution when I get the time.

@DanielZlotin
Copy link

First of all - Amazing work!

A better solution is adding this command to wml start:
watchman watch-del-all

This is caused by the react-native packager starting the watchman, but watchman is not being stopped even after closing the packager process, which causes a conflict between the old watched folder and the new wml-watched folder.

If you want I can make a PR

another option is to specifically remove the watched folder (instead of all). But I like the all better just in case.

@DanielZlotin
Copy link

OK apparently this only sometimes works -_-

@dutzi dutzi added the bug label Aug 28, 2016
motornyi pushed a commit to motornyi/wml that referenced this issue Oct 13, 2020
motornyi pushed a commit to motornyi/wml that referenced this issue Oct 13, 2020
motornyi pushed a commit to motornyi/wml that referenced this issue Oct 13, 2020
…ui-issue-845

bugfix/agenda-ui-issue-845: Change calendarOffset to fix ui issue aff…
motornyi pushed a commit to motornyi/wml that referenced this issue Oct 13, 2020
…racket

Touchable Opacity Closing Bracked in Menu.js Fixed
@yezhengli-Mr9
Copy link

I don't know why this happens, but if you get something like this:

[error] unable to resolve root /Users/blah/project: directory /Users/blah/project is not watched

Running this should fix it:

watchman watch /Users/blah/project

I'll try finding an actual solution when I get the time.

Not work for me

         var error = new Error(obj.error);
                      ^
Error: watchman::RootResolveError: failed to resolve root: unable to resolve roo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants