-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Will the DDHotKey affect the file watch ? #80
Comments
Not sure I understand what you're saying. DDHotKey is compiled into the app. It won't work using HotReloading alone which relies on calling the FileSystemEvent api from inside the simulator so your only option is cmd-s. |
I forked a HotReloading and add the DDHotKey in it, and set a cmd + s hotkey. But when I trigger the cmd + s, found the file watcher didn`t get a callback, only the hotkey action triggerd. |
I'm surprised DDHotKey works inside the simulator. It uses an old "Carbon" api so the chances of it working are very low. I'll have to leave you to work this one out. |
I tried it on device. And I will find a way to work it out. Thanks~ |
The DDHotKey with cmd + s will delay the FSStreamEventCallback about 10 - 15 seconds on device. |
I'm not sure I understand what you're up to. How do you mean "on device"? How could it work "on device"? Have you tried using the existing hot key of control-=? instead? |
I use the DDHotKey with command + s in HotReloading as a package, but found it will affect the File Watcher, it cann
t get the callback when command + s triggered. I didn
t figure out how it happed.The text was updated successfully, but these errors were encountered: