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

FileWatcher doesn't work with vim #30

Open
cbix opened this issue Jun 23, 2020 · 2 comments
Open

FileWatcher doesn't work with vim #30

cbix opened this issue Jun 23, 2020 · 2 comments

Comments

@cbix
Copy link

cbix commented Jun 23, 2020

Some editors (like vim) recreate the text file when saving changes. This leads to undesired behavior of FaustLive to switch to its copy of the file instead of the changed original.
I don't have a solution for the Qt function used here off the top of my head but it would be great if there was one!

@shushcat
Copy link

I don't know about Qt, but you can change Vim's behavior by adding the lines set backup and set writebackup to ~/.vim/ftplugin/dsp.vim.

@cbix
Copy link
Author

cbix commented Feb 18, 2024

@shushcat that doesn't seem to work, I'm still getting this error

Warning your file : [...].dsp was deleted. You are now working on an internal copy of this file.

And FaustLive will continue working on a copy of the file. Editing the file with other editors like gedit works as expected.

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

No branches or pull requests

2 participants