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
Is there a simple workaround for this without writing your own watch logic? This feature is highly relevant for me.
I already have a dataLoader reading in a json-file, but I can only use that data inside of .md and .vue files. I would like to use it in a [x].paths.mts file as well. Importing it like you do in markdown (import { data } from "./roleLoader.mts") doesn't work because it just export a loader, not the actual data. Calling load from the loader works but of course doesn't watch for updates.
Is your feature request related to a problem? Please describe.
Currently path loaders only work at build time, which is not ideal during dev when generating data from local files.
Describe the solution you'd like
I would like a
watch
property similar to Data Loaders.Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: