title: dotnev environment values not loaded in other than index.js
body: <p>I am trying to setup environment management in express js application using <a href="https://www.npmjs.com/package/dotenv" rel="nofollow noreferrer">this</a> package.</p>
  
  <p>In my index.js file, I am getting the <code>.env</code> values properly </p>
  
  <pre><code>require('dotenv').config({path:__dirname+'/.env'});
  app.all('/*', function(req, res, next) {
    //here i am getting values properly
     console.log("ENV",process.env.DB_NAME);
  });
  </code></pre>
  
  <p>but in my another file I am getting the undefined error </p>
  
  <p><code>config/db.js</code></p>
  
  <pre><code>module.exports  = new Sequelize(process.env.DB_NAME,process.env.DB_USER,process.env.DB_PASS, {
    host: 'localhost',
    port:'3306',
    dialect: 'mysql',
    logging:false
  });
  </code></pre>