Skip to content

Commit 6fbfc5c

Browse files
committed
fix(app): correct import of expresstemplatesreload in app.ts
1 parent 84e8989 commit 6fbfc5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import { router } from './router';
1414
import { appConfig } from './config';
1515
import compression from 'compression';
1616
import expressLayouts from 'express-ejs-layouts';
17-
import { expressTemplatesReload as reload } from '@wajeht/express-templates-reload';
17+
import { expressTemplatesReload } from '@wajeht/express-templates-reload';
1818

1919
const app = express();
2020

2121
if (appConfig.env === 'development') {
22-
reload({
22+
expressTemplatesReload({
2323
app,
2424
watch: [{ path: './public/style.css' }, { path: './src/views', extensions: ['.html'] }],
2525
options: { quiet: false },

0 commit comments

Comments
 (0)