Init File
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
Is there any way to run code once per startup to for example initially cache data and stuff?
2 Replies
@Barbary Lion Is there any way to run code once per startup to for example initially cache data and stuff?
once per startupplease clarify. Per request? In build time? ...
Barbary LionOP
When I run npm run start and my app starts. I want a file which runs only once directly on startup so I can initialize my cache.