diff options
Diffstat (limited to 'src/cli/run_command.zig')
-rw-r--r-- | src/cli/run_command.zig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cli/run_command.zig b/src/cli/run_command.zig index dcb5312b1..42560947a 100644 --- a/src/cli/run_command.zig +++ b/src/cli/run_command.zig @@ -482,6 +482,10 @@ pub const RunCommand = struct { this_bundler.resolver.care_about_bin_folder = true; this_bundler.resolver.care_about_scripts = true; + + this_bundler.resolver.opts.load_tsconfig_json = false; + this_bundler.options.load_tsconfig_json = false; + this_bundler.configureLinker(); var root_dir_info = this_bundler.resolver.readDirInfo(this_bundler.fs.top_level_dir) catch |err| { @@ -491,7 +495,7 @@ pub const RunCommand = struct { } else { ctx.log.printForLogLevelWithEnableAnsiColors(Output.errorWriter(), false) catch {}; } - Output.prettyErrorln("Error loading directory: \"{s}\"", .{@errorName(err)}); + Output.prettyErrorln("<r><red>error<r><d>:<r> <b>{s}<r> loading directory {}", .{ @errorName(err), strings.QuotedFormatter{ .text = this_bundler.fs.top_level_dir } }); Output.flush(); return err; } orelse { @@ -500,7 +504,7 @@ pub const RunCommand = struct { } else { ctx.log.printForLogLevelWithEnableAnsiColors(Output.errorWriter(), false) catch {}; } - Output.prettyErrorln("Error loading current directory", .{}); + Output.prettyErrorln("error loading current directory", .{}); Output.flush(); return error.CouldntReadCurrentDirectory; }; |