We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20caf2b commit e254d6bCopy full SHA for e254d6b
1 file changed
adminforth/commands/createApp/templates/index.ts.hbs
@@ -75,11 +75,9 @@ if (fileURLToPath(import.meta.url) === path.resolve(process.argv[1])) {
75
76
const port = 3500;
77
78
- if (process.env.NODE_ENV === 'development') {
79
- admin.bundleNow({ hotReload: true }).then(() => {
80
- logger.info('Bundling AdminForth SPA done.');
81
- });
82
- }
+ admin.bundleNow({ hotReload: process.env.NODE_ENV === 'development' }).then(() => {
+ logger.info('Bundling AdminForth SPA done.');
+ });
83
84
admin.express.serve(app);
85
0 commit comments