You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though the body and parsed JSON is cached, we're re-reading the file contents on every call to runChecks.
A smarter approach would be to start a file watcher (presumably with chokidar to avoid weird node.js macos/windows file watch issues) and invalidate the cached value on file system file change.
The text was updated successfully, but these errors were encountered:
https://github.com/Shopify/liquid-language-server/blob/main/packages/node/src/index.ts#L67-L92
Even though the body and parsed JSON is cached, we're re-reading the file contents on every call to runChecks.
A smarter approach would be to start a file watcher (presumably with chokidar to avoid weird node.js macos/windows file watch issues) and invalidate the cached value on file system file change.
The text was updated successfully, but these errors were encountered: