We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e8989 commit 6fbfc5cCopy full SHA for 6fbfc5c
src/app.ts
@@ -14,12 +14,12 @@ import { router } from './router';
14
import { appConfig } from './config';
15
import compression from 'compression';
16
import expressLayouts from 'express-ejs-layouts';
17
-import { expressTemplatesReload as reload } from '@wajeht/express-templates-reload';
+import { expressTemplatesReload } from '@wajeht/express-templates-reload';
18
19
const app = express();
20
21
if (appConfig.env === 'development') {
22
- reload({
+ expressTemplatesReload({
23
app,
24
watch: [{ path: './public/style.css' }, { path: './src/views', extensions: ['.html'] }],
25
options: { quiet: false },
0 commit comments