fix(config): use .smartconfig.json consistently and pass asset copy paths explicitly

This commit is contained in:
2026-05-09 12:33:39 +00:00
parent 7a1dbbff21
commit f2e843b72e
10 changed files with 2416 additions and 1511 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ tswatchCli.standardCommand().subscribe(async (argvArg) => {
// Config exists - run with it
const tsWatch = TsWatch.fromConfig();
if (tsWatch) {
logger.log('info', 'Starting tswatch with configuration from smartconfig.json');
logger.log('info', 'Starting tswatch with configuration from .smartconfig.json');
await tsWatch.start();
} else {
logger.log('error', 'Failed to load configuration');
@@ -26,7 +26,7 @@ tswatchCli.standardCommand().subscribe(async (argvArg) => {
}
} else {
// No config - launch wizard
logger.log('info', 'No tswatch configuration found in smartconfig.json');
logger.log('info', 'No tswatch configuration found in .smartconfig.json');
const config = await runInit();
if (config) {
// Run with the newly created config