Turbo87 / intellij-emberjs

Ember.js support for JetBrains IDEs (IntelliJ, WebStorm, ...)
Apache License 2.0
217 stars 33 forks source link

Fix deadlock running TemplateLint on save #485

Closed dwickern closed 1 year ago

dwickern commented 1 year ago

Fixes #484

Most linters read the file contents from stdin and write the fixed file contents to stdout. Their IntelliJ implementations disable the automatic refresh (JSLinterFixAction#needRefreshFilesAfter returns false) and so they won't hit this deadlock. TemplateLint writes its fixes directly to the same file so we need to refresh the files after.