diff --git a/src/backend/src/modules/hostos/ProcessService.js b/src/backend/src/modules/hostos/ProcessService.js index 290387ac..d96c33ac 100644 --- a/src/backend/src/modules/hostos/ProcessService.js +++ b/src/backend/src/modules/hostos/ProcessService.js @@ -69,11 +69,10 @@ class ProcessService extends BaseService { global_config: this.global_config }); } - console.log( + this.log.debug( 'command', - command, - ...args - ) + { command, args }, + ); const proc = this.modules.spawn(command, args, { shell: true, env: { diff --git a/src/backend/src/modules/selfhosted/SelfHostedModule.js b/src/backend/src/modules/selfhosted/SelfHostedModule.js index 4e116a13..20e9fbcb 100644 --- a/src/backend/src/modules/selfhosted/SelfHostedModule.js +++ b/src/backend/src/modules/selfhosted/SelfHostedModule.js @@ -86,15 +86,6 @@ class SelfHostedModule extends AdvancedBase { PUTER_JS_URL: ({ global_config: config }) => config.origin + '/sdk/puter.dev.js', }, }, - { - name: 'git:rollup-watch', - directory: 'src/git', - command: 'npx', - args: ['rollup', '-c', 'rollup.config.js', '--watch'], - env: { - PUTER_JS_URL: ({ global_config: config }) => config.origin + '/sdk/puter.dev.js', - }, - }, { name: 'emulator:webpack-watch', directory: 'src/emulator', diff --git a/src/emulator/package.json b/src/emulator/package.json index 250c9763..4c35c5c5 100644 --- a/src/emulator/package.json +++ b/src/emulator/package.json @@ -4,7 +4,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start-webpack": "webpack --watch --devtool source-map" + "start-webpack": "webpack --watch --devtool source-map --stats=errors-only" }, "keywords": [], "author": "", diff --git a/src/gui/package.json b/src/gui/package.json index 5359df36..f2b4f23e 100644 --- a/src/gui/package.json +++ b/src/gui/package.json @@ -32,7 +32,7 @@ "start=gui": "nodemon --exec \"node dev-server.js\" ", "build": "node ./build.js", "check-translations": "node tools/check-translations.js", - "start-webpack": "webpack --watch --devtool source-map" + "start-webpack": "webpack --watch --devtool source-map --stats=errors-only" }, "workspaces": [ "src/*" diff --git a/src/puter-js/package.json b/src/puter-js/package.json index 02803e61..aa3ba5c6 100644 --- a/src/puter-js/package.json +++ b/src/puter-js/package.json @@ -25,7 +25,7 @@ ], "scripts": { "start-server": "npx http-server --cors -c-1", - "start-webpack": "webpack && webpack --output-filename puter.dev.js --watch --devtool source-map", + "start-webpack": "webpack --stats=errors-only && webpack --output-filename puter.dev.js --watch --devtool source-map --stats=errors-only", "start": "concurrently \"npm run start-server\" \"npm run start-webpack\"", "build": "webpack && { echo \"// Copyright 2024-present Puter Technologies Inc. All rights reserved.\"; echo \"// Generated on $(date '+%Y-%m-%d %H:%M')\n\"; cat ./dist/puter.js; } > temp && mv temp ./dist/puter.js", "prepublishOnly": "npm run build && mv dist/puter.js dist/puter.cjs && npm version patch"