Comments (3)
@dkarter hey, this could be related to a change we made in the most recent version. Restarting prettierd should be enough (pkill prettierd
and then run it again), but let me know if that doesn't work.
I've been trying to think of way to automatically restart it whenever we update or we first start the server, but I haven't decided on an approach yet (some ideas that I've considered include having a way to ask the server for the version and if they don't match, restart it, alternatively we could have a minimum requirement in the client and use that. Obviously this would only work for versions launched after the mechanism).
Either way, let me know if restarting works for you!
from prettierd.
Thank you for the super quick reply @fsouza!
You were correct, I was able to resolve the issue via prettierd restart
.
Sounds like a good idea to have the client automatically restart the server when applicable because mostly people run their formatting as a background process and won't necessary know that there's an error otherwise.
Appreciate the help!! ❤️
from prettierd.
pkill prettierd
seemed to work for me along with restarting neovim. Thanks for fixing this.
from prettierd.
Related Issues (20)
- Support returning cursor offset HOT 1
- Not using configuration options from package.json like prettier does. HOT 2
- [Feature Request] Accept stdin or files with different extensions HOT 3
- Local configuration changes takes a long time to take effect HOT 5
- 0.23.* releases are not working with Neovim nor Zed HOT 4
- Enter insert mode ,exit insert mode,copy code indefinitely in Typescript. HOT 1
- `prettierd` doesn't seem to work after a new plugin is added to config file HOT 1
- There are processes running even after `prettierd stop` was executed HOT 1
- Overrides do not work in default config. HOT 5
- Does not respect `prefer-file`
- prettier 3.0 support HOT 1
- prettierd ignores .editorconfig file HOT 4
- v0.24.1 causes prettier to not follow project config HOT 5
- Add a test suite to catch regressions
- prettierd fails with prettier-plugin-astro HOT 2
- bug: The import statements are ordered when enabling the prettier formatter HOT 1
- Errors should be written to stderr not stdout HOT 8
- prettierd not reading the config file with tailwindcss plugin HOT 3
- The "list" argument must be an instance of Array. Received null HOT 13
- The process doesn't terminate HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettierd.