What happened
I want to restart a graphql server when *.graphql files are changed. With nodemon it's possible to specify which extensions to watch. I tried adding a pluging to import graphql files directly in node and that still didn't add it to watch list(see attached stackblitz)
What I expected
Ability to add extra files to watch when it needs to recompile and restart.
Error stack trace
Documentation links
Screenshots
Contributions
[ ] I will open a pull request for this issue
[ ] I will support the work financially (any amount helps)
Acknowledgements
Minimal reproduction URL
https://stackblitz.com/edit/node-ddkc1s?file=example.graphql
Version
3.12.1
Node.js version
18
Package manager
pnpm
Operating system
Linux
Problem & expected behavior (under 200 words)
nodemon
it's possible to specify which extensions to watch. I tried adding a pluging to import graphql files directly in node and that still didn't add it to watch list(see attached stackblitz)Contributions