Skip to content

Commit 6c51d10

Browse files
committed
feat(build): add a notification of bundle rebuilding and completion
closes #11
1 parent 9a3f00d commit 6c51d10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/module.js

+2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export default function NetlifyCmsModule(moduleOptions) {
7272
if (stats.hasErrors()) {
7373
return;
7474
}
75+
debug(`Bundle built!`);
7576
});
7677

7778
// Create webpack dev middleware in development
@@ -130,6 +131,7 @@ export default function NetlifyCmsModule(moduleOptions) {
130131

131132
const refreshFiles = _.debounce(() => {
132133
configManager.cmsConfigFile.readFile();
134+
debug(`Rebuilding...`);
133135
this.nuxt.renderer.netlifyWebpackDevMiddleware.invalidate();
134136
}, 200);
135137

0 commit comments

Comments
 (0)