Adding assets after meteor build


#1

Hi there,

My app uses json assets located in the private directory.
Once deployed I’ll need to update my json assets every once in a while. I noted that the private directory content is put in “programs/server/assets/app/content” during the build.

My problem is that all files added after the build to this directory are ignored. I get the error

[Error: Unknown asset: content/some-new-file.json] stack: [Getter]

What is wrong with this approch ? Is there a better way of managing new assets ?

Thanks


#2

I am facing the same problem.

I am saving files to the private folder when the app is running (after the build). But I can’t access them with Assets. I can only access file that existed in the private folder before the build.

Is there a solution to access these Assets?