aframe-watcher
aframe-watcher copied to clipboard
CTRL-C will now exit the program
Just a simple piece of code added to the end of the file + two booleans to check if files are being written to. Also does not allow files to be written while shutting down and will automatically reject incoming connections. Relates to issue https://github.com/supermedium/aframe-watcher/issues/13
I tested this PR but it isn't working for me. If don't save any changes it shutdows with Ctrl-C. But after I have saved any change in the scene Ctrl-C no longer works
Update: Seems to be a problem with the package prompt-confirm
capturing the input and not reporting the SIGINT signal. See https://github.com/enquirer/prompt-confirm/issues/9
@Juankz That repo seems to be dead, I dont really know how to proceed here
I talked on discord with one of the maintainers, the repo is not dead but is not much active either. If you could help testing my PR it would make it easier to merge.
I talked on discord with one of the maintainers, the repo is not dead but is not much active either. If you could help testing my PR it would make it easier to merge.
I do not see any PRs from your account there, could you drop a link?
Sure https://github.com/supermedium/aframe-watcher/pull/20