wix-incubator / wml

An alternative to symlinks that actually copies changed files from source to destination folders
MIT License
776 stars 43 forks source link

wlm start doesn't load watchman #38

Open bantingGamer opened 5 years ago

bantingGamer commented 5 years ago

The issue

wml start does nothing. It is as if it doesn't load watchman. There is just a blank cursor flashing. No changes are copied.

To replicate

Install latest watchman "version": "4.9.4" from https://facebook.github.io/watchman/docs/install.html install wml npm install -g wml Configure wml wml add ~/my-package ~/main-project/node_modules/my-package run wml wml start and nothing

Thank you for your time

ABQJuan commented 5 years ago

Same problem here. wml add, rm, list etc all work fine. wml start just results in a blinking cursor on the next line. No output. No changes.

Windows 10

ajohnston1219 commented 5 years ago

Same here

Windows 10

wushq5 commented 4 years ago

add your wml/src dir to watchman list will do, like this watchman watch /Users/rcrabwu/.nvm/versions/node/v8.9.0/lib/node_modules/wml/src

SevenZark commented 4 years ago

I am also having this issue on a brand new install of Windows 10. "wml start" just resolves to a blinking cursor. It doesn't actually notice changes or do anything at all except leave a blinking cursor sitting there.

SevenZark commented 4 years ago

add your wml/src dir to watchman list will do, like this watchman watch /Users/rcrabwu/.nvm/versions/node/v8.9.0/lib/node_modules/wml/src

This did not solve anything for me.

youngjuning commented 4 years ago

how to use it on windows?

youngjuning commented 4 years ago

same issues on windows10

youngjuning commented 4 years ago

image

youngjuning commented 4 years ago

@wushq5 thanks for your help

hosseinalipour commented 4 years ago

it's sucks. which path do I need to watch by the watchman. it doesn't work.

gcandal commented 4 years ago

image

Under scoop + nvm running watchman watch C:\Users\%user\scoop\apps\nvm\current\nodejs\nodejs\node_modules\wml\src seems to work.

daominhsangvn commented 3 years ago

For people who late that have this issue: Steps by step how to run WML

kopax-polyconseil commented 3 years ago

I have tried not to install wml globally, and result was bad.

Chao ban va xin cam on, this should be in the README, the most important part is the step active watchman, as soon as you map this correctly, you will see output when running wml start.

However, it's not because I see wml logging that I see file updating, it still seems that wml is not doing anything but logging.

Any clue how I can solve the linking problem betweenn a module and a native application?

andresesfm commented 2 years ago

In my case, I followed @daominhsangvn 's instructions (MacOS) but since I'm using n I couldn't get the location of node_modules/wml/src by using which node. I found a more accurate way by using: npm root -g Reference: https://stackoverflow.com/a/54996486

vinikatyal commented 2 years ago

In my case, I followed @daominhsangvn 's instructions (MacOS) but since I'm using n I couldn't get the location of node_modules/wml/src by using which node. I found a more accurate way by using: npm root -g Reference: https://stackoverflow.com/a/54996486

Thanks for this!

Mengsha97 commented 2 years ago

@daominhsangvn Thank you! It works!

tylers-username commented 2 years ago

For those of you having trouble finding the path on macOS or Linux, this should help:

watchman watch $(dirname /$(readlink $(which wml)))/../wml/src