Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e3b5fc

Browse files
committed
docs: specify warning for using a glob path in typeorm entities
It isn't clear why using a glob path won't work properly with webpack. Adding text to specify that it is hot reloading what won't work and changing the link to a nestjs doc page.
1 parent 72d8d2d commit 4e3b5fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎content/techniques/sql.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The `forRoot()` method accepts the same configuration object as `createConnectio
5555
}
5656
```
5757

58-
> warning **Warning** Static glob paths (e.g. `dist/**/*.entity{{ '{' }} .ts,.js{{ '}' }}`) won't work properly with [webpack](https://webpack.js.org/).
58+
> warning **Warning** Static glob paths (e.g. `dist/**/*.entity{{ '{' }} .ts,.js{{ '}' }}`) won't work properly with [webpack hot reloading](https://docs.nestjs.com/techniques/hot-reload).
5959
6060
Then, we can call `forRoot()` without any options:
6161

0 commit comments

Comments
 (0)