Hello! Out of curiosity, what happens if, right af...
# prisma-whats-new
p
Hello! Out of curiosity, what happens if, right after I create a
typescript-advanced
-boilerplate-based project, I changed
NODE_ENV
into
local
instead of
dev
? What dependencies or side-effects am I not seeing?
h
what are you trying to achieve?
I'm not sure if that does anything
p
It’s for purely aesthetic reasons: our
dev
environment is actually a shared server we have; what we develop on our local machines we call
local
So I was just wondering if that potentially breaks anything that I’m not aware of, and that would come back and bite me in the a** after I’d forgotten that I’ve made the change 😄
n
NOVE_ENV
is not about Prisma stages, it's a general concept: https://stackoverflow.com/questions/16978256/what-is-node-env-in-express
p
Thank you Nilan, yes, I read that indeed 🙂
So you confirm that Prisma doesn’t use
env === dev
internally 👍
n
yes. I'm thinking that GraphQL Yoga is using it, but
prisma
is definitely not.
p
Oh, but that also counts!
Would certain logs be turned off for instance?
n
I'm not exactly sure! could you ask this question here: https://github.com/graphcool/graphql-yoga/issues? 🙂
p
Ok 🙂
h
I don't even see that in the normal javascript template
p
Thank you, the issue was already answered and closed 🙂
n
hah! 😄