Remove unneccesary logs
This commit is contained in:
@@ -26,7 +26,6 @@ export default async function serverPostBuildFn({ artifacts }) {
|
||||
}
|
||||
try {
|
||||
let final_data = {};
|
||||
console.log("global.ROOT_FILE_UPDATED", global.ROOT_FILE_UPDATED);
|
||||
if (global.ROOT_FILE_UPDATED) {
|
||||
final_data = { reload: true };
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -38,6 +38,7 @@ export default async function watcher() {
|
||||
return;
|
||||
global.RECOMPILING = true;
|
||||
if (full_file_path.match(/\_\_root\.tsx?$/)) {
|
||||
// log.watch(`__root.tsx file updated. Reloading window.`);
|
||||
global.ROOT_FILE_UPDATED = true;
|
||||
}
|
||||
await rewritePagesModule({ page_url: full_file_path });
|
||||
|
||||
Reference in New Issue
Block a user