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

rsw-watch can't exit #7

Closed
HomyeeKing opened this issue Nov 29, 2022 · 10 comments
Closed

rsw-watch can't exit #7

HomyeeKing opened this issue Nov 29, 2022 · 10 comments

Comments

@HomyeeKing
Copy link

HomyeeKing commented Nov 29, 2022

rsw still watch the project even have exited(ctrl + c) the program

should listen exit event, then exit watch mode.

@lencx
Copy link
Member

lencx commented Dec 2, 2022

I can't reproduce the problem for now, can you record a video?

@HomyeeKing
Copy link
Author

just do the save action in edit panel

2022-12-02.14.12.08.mov
@lencx
Copy link
Member

lencx commented Dec 2, 2022

Try ctrl + z?

@HomyeeKing
Copy link
Author

what does this mean? it doesn't work, most of using ctrl + c/d to interrupt the program
https://btholt.github.io/complete-intro-to-linux-and-the-cli/signals-and-the-power-of-ctrl

@lencx
Copy link
Member

lencx commented Dec 2, 2022

I can't locate your problem for now, if possible, you can pull the source code and debug it yourself. No other users have reported similar issues so far.

@HomyeeKing
Copy link
Author

OK, I am a new Rustaceans and learning the rust docs recently, maybe send a PR later

@HomyeeKing
Copy link
Author

HomyeeKing commented Dec 5, 2022

this issue can be reproduced by run rsw watch & vite, rsw watch is fine but running concurrently at background, can't be exited

@HomyeeKing
Copy link
Author

could you please add the CONTRIBUTE guide, I have no idea how to debug the local build binary. Does it need an example directory? @lencx

@lencx
Copy link
Member

lencx commented Dec 6, 2022

Sorry, I'm currently busy with other things and don't have time to write the contributor guidelines. It is recommended that you refer to the rust command line development documentation.

@HomyeeKing
Copy link
Author

HomyeeKing commented Dec 8, 2022

it does because the rsw-watch run in background and can't receive the ctrl_c signal, I recommend that use concurrently instead of & in vite-plugin-rsw docs

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