Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
wong2
22 days agoNew Contributor
1Password keeps updating .env file
1Password Environment is really cool! I'm excited to use it. But I'm running into a problem: 1Password keeps updating the mounted .env file, even when the content hasn't changed. This causes our deve...
wong2
21 days agoNew Contributor
No, I'm still having troubles with it. And I don't think there's much I can do without 1Password improve this.
1P_Phil
Moderator
20 days agoHi wong2 ,
Hot off the press (from internal folks here at 1Password, thanks sid ), please give this workaround a try while we get a polished fix.
Could you try adding something like this in your vite.config.ts:
import { defineConfig } from 'vite'
export default defineConfig({
server: {
watch: {
ignored: ['**/.env', '**/.env.*']
}
}
})
Thanks!
Phil