dotnet-fake-json-server icon indicating copy to clipboard operation
dotnet-fake-json-server copied to clipboard

[Feature] On Republish keep previous data

Open Astrophonx opened this issue 2 years ago • 1 comments

After I publish, I lost all of my data in the datastore.json. Can we have as a feature datastore.json, not to be refreshed

Astrophonx avatar Aug 11 '22 15:08 Astrophonx

Hi!

If there is a way to configure the project in a way, that during publish, datastore.json is only copied if it doesn't exist, we could add that configuration.

I don't remember if there is a way to separate the build and publish behavior for files, as we need to replace this file during the build. If someone has better knowledge of this, all help is appreciated.

ttu avatar Jan 07 '23 10:01 ttu