-
Notifications
You must be signed in to change notification settings - Fork 7
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
Causes UnhandledPromiseRejectionWarning in @gridsome\source-filesystem #61
Comments
Any progress on this? Still cant manage to hot reaload content when i edit md files. |
Here is a dirty workaround which disables flexsearch in dev mode: {
use: "gridsome-plugin-flexsearch",
options: {
searchFields: ["title", "subtitle", "excerpt", "tags", "content"],
collections: process.env.NODE_ENV === "development" ? [] : collections,
// ...
}
}; |
Thanks for workaround @vsimko , like you mentioned its not happy solution since then you cant do flex search but in my case markdown is changed more often, so at least we can toggle it now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When flexsearch is enabled, it is not possible to edit markdown files and at the same time to see the content being hot-reloaded in the browser.
See this issue: gridsome/gridsome#1223
The text was updated successfully, but these errors were encountered: