We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let router = require('./router.js'); app.set('views', path.resolve(__dirname, entryPath)); app.locals.basedir = path.resolve(__dirname, appConfig.folders.path); app.set('view engine', 'pug'); app.use('/', router);
let router = require('./router.js');
app.set('views', path.resolve(__dirname, entryPath));
app.locals.basedir = path.resolve(__dirname, appConfig.folders.path);
app.set('view engine', 'pug');
app.use('/', router);
The text was updated successfully, but these errors were encountered:
hello,
To be honest, I have never tried to use pug as the default view engine.
Do you mean that when updating dynamically a view the HMR does not work?
Sorry, something went wrong.
Same problem https://stackoverflow.com/questions/46858272/how-to-get-webpack-hot-reload-to-detect-changes-in-pug-express
No branches or pull requests
let router = require('./router.js');
app.set('views', path.resolve(__dirname, entryPath));
app.locals.basedir = path.resolve(__dirname, appConfig.folders.path);
app.set('view engine', 'pug');
app.use('/', router);
The text was updated successfully, but these errors were encountered: