We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Serve and mount on the same computer as follows, with caching disabled to avoid it being relevant (it makes no difference though):
await require('.').serve({path:'/tmp/a', port:6000, host:'localhost'})
await require('.').mount({path:'/tmp/b', remote:"ws://localhost:6000", cacheTimeout:0})
Then try vi a; cat a in a terminal, with editing the file slightly, then doing ZZ to exit:
vi a; cat a
/tmp/b/git$ vi a; cat a /tmp/b/git$
Note that the output is empty for a moment, i.e., a is blank. If instead you insert a second sleep in then it works fine:
/tmp/b/git$ vi a; sleep 1; cat a proper content
The text was updated successfully, but these errors were encountered:
d1e36ad
No branches or pull requests
Serve and mount on the same computer as follows, with caching disabled to avoid it being relevant (it makes no difference though):
Then try
vi a; cat a
in a terminal, with editing the file slightly, then doing ZZ to exit:/tmp/b/git$ vi a; cat a /tmp/b/git$
Note that the output is empty for a moment, i.e., a is blank. If instead you insert a second sleep in then it works fine:
The text was updated successfully, but these errors were encountered: