Hello there,
This post outlines the way Replit works: Replit Create a .env File Changed
Hope this helps