We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was using TypeScript + dotenv. I changed .env file, but parcel didn't recognize that change even when I restarted parcel.
TypeScript
.env
parcel
None.
alert('bar')
alert('foo')
I guess that this is cache bug.
index.ts
const process = require("process"); alert(process.env.MSG);
index.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <script src="./index.ts"></script> </head> <body> </body> </html>
MSG=foo
MSG=bar
The text was updated successfully, but these errors were encountered:
I am also seeing this issue 🙋
Sorry, something went wrong.
This should be fixed in the next release
No branches or pull requests
🐛 bug report
I was using
TypeScript
+ dotenv.I changed
.env
file, butparcel
didn't recognize that change even when I restartedparcel
.🎛 Configuration (.babelrc, package.json, cli command)
None.
🤔 Expected Behavior
alert('bar')
😯 Current Behavior
alert('foo')
💁 Possible Solution
I guess that this is cache bug.
🔦 Context
💻 Code Sample
index.ts
index.html
.env
🌍 Your Environment
The text was updated successfully, but these errors were encountered: