title: TypeORM cannot find entities if entity directory was not set in configuration files
body: <p>I'm using TypeORM with the fallowing configuration file: ormconfig.json</p>
  
  <pre><code>{
  "type": "mysql",
  "host": "localhost",
  "port": 3306,
  "username": "root",
  "password": "my-secret-pw",
  "database": "mytestdb",
  }
  </code></pre>
  
  <p>My Entities files are stored on the ./src/bar/entity directory.
  I always get the following error:</p>
  
  <blockquote>
    <p>RepositoryNotFoundError: No repository for "myTable" was found. Looks like this entity is not registered in current "default" connection?</p>
  </blockquote>
  
  <p>The Entity is found when I manually add the directory to the configuration file:</p>
  
  <pre><code>{
  ...
  "entities": ["src/bar/entity/**/*.ts"]
  }
  </code></pre>
  
  <p>My Entity is defined like:</p>
  
  <pre><code>@Entity('myTable')
  export default class MyTable {
      @PrimaryGeneratedColumn()
      public id: number;
      ...
  </code></pre>
  
  <p>How can I allow the TypeORM to find those entities without setting manually in the configuration file for each directory?</p>