1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/tools
Bartek Iwańczuk ab2200afd8 refactor: --watch commands use deno_core::resolve_url_or_path (#18172)
This commit changes various CLI subcommands that have support for
the "--watch" flag to use initial current working directory when
resolving "main module". 

This is part of migration towards explicitly passing current working
directory to "deno_core::resolve_url_or_path" API.

As a side effect this makes "deno <subcommand> --watch" more aligned to
user expectations, where calling "Deno.chdir()" during program doesn't
break watcher.

Towards landing https://github.com/denoland/deno/pull/15454
2023-03-16 11:57:00 +09:00
..
coverage refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
init chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
repl refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
vendor refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
bench.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
bundle.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
check.rs fix(check): regression where config "types" entries caused type checking errors (#18124) 2023-03-16 11:54:35 +09:00
doc.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
fmt.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
info.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
installer.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
lint.rs chore(cli): update deno_lint to 0.41.0 (#17997) 2023-03-10 12:44:45 +09:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
run.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
standalone.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-16 11:56:53 +09:00
task.rs fix: lazily surface errors in package.json deps parsing (#17974) 2023-03-10 12:46:44 +09:00
test.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-16 11:57:00 +09:00
upgrade.rs ref(cli): Add better error message when powershell is missing during upgrade (#17759) 2023-02-16 21:14:57 +02:00