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

In Linux we have two output but we need only one #60

Closed
TusharDasMe opened this issue Dec 7, 2020 · 5 comments
Closed

In Linux we have two output but we need only one #60

TusharDasMe opened this issue Dec 7, 2020 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@TusharDasMe
Copy link

is
in linux the file save two times thats why we have two output .

@ankushbhardwxj
Copy link
Owner

ankushbhardwxj commented Dec 7, 2020

@TusharDasMe - confirming this issue. I'm getting the compilation and output step occurring twice when a file is saved on UNIX based systems. Reproduced on WSL terminal using Vim & VsCode.

@ankushbhardwxj
Copy link
Owner

Solution involves usage of Event Queue, that skips adding the same event (FileSystemEvent) multiple times consecutively.

@ankushbhardwxj ankushbhardwxj added bug Something isn't working help wanted Extra attention is needed labels Dec 11, 2020
@paramsiddharth
Copy link
Contributor

I can confirm the same happens in Windows (CMD, PowerShell, WSL) and MSYS2 as well.

@ag-hcoder
Copy link
Contributor

ag-hcoder commented Dec 19, 2020

@ankingcodes @paramsiddharth Can you elaborate more on the usage of Event Queue? I am working on this

@ankushbhardwxj
Copy link
Owner

This issue has been fixed in the new release 3101dfb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants