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

vue files always appear as unsaved #4

Open
ripper234 opened this issue Feb 17, 2017 · 1 comment
Open

vue files always appear as unsaved #4

ripper234 opened this issue Feb 17, 2017 · 1 comment

Comments

@ripper234
Copy link

Steps to reproduce:

  1. Open a .vue file
  2. Edit the file
  3. Save (this reformats the file correctly)

Expected

The file should no longer appear as "has changes"

Actual

No amount of saving (even double/triple save) will make the file changed to a "saved" state

image

Possibly related to #2

@ripper234
Copy link
Author

I see you're using onDidSaveTextDocument.
I wonder if perhaps it's better to trigger the extension on onWillSaveTextDocument instead.

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

1 participant