Detect Meteor environment?
detect, environment, javascript, meteor
Solution
You can use process for that, another approach is to use fs and check a file which you put in your dir which is different depending on the environment your application is in.
I think the best approach would be to use `process.env` and checking out `COMPUTERNAME`.
Problem
I would like to know how can we detect whether meteor is running in development or production environment? Thanks