This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Cannot disable cache #78
Comments
|
Thanks for the tips! We have a project where development is primarily driven by UI, i.e. UI guys would mock API needed then backend guys would deduce data model from the mock. As UI is quite volatile, we are expecting a lot of trial and errors. A watcher-like mechanism to auto-reload the points / files would be very helpful. Any plan to add this in the future? |
I agree some kind of auto-reloader should be in. Until then, you can also use something like nodemon to watch your files and restart dyson on changes. |
Looking forward to it. Thanks. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The default option for cache was supposed to be false, but in console it still shows
(cached)
, so I added "dyson.json" to API directory to manually setcache: false
, but no luck, still seeing(cached)
.Any idea about this? Thanks.
Also want to know whether disabling cache means the API file is reloaded every time a request comes in, so I can edit it on the fly without the need to restart dyson.
The text was updated successfully, but these errors were encountered: