1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-05 09:04:41 -05:00
denoland-deno/cli/tools
Bartek Iwańczuk 9aa20b3ba7
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-14 02:44:16 +00:00
..
coverage refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00: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-14 01:12:09 +00:00
vendor refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00:00
bench.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-14 02:44:16 +00:00
bundle.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-14 02:44:16 +00:00
check.rs fix(check): regression where config "types" entries caused type checking errors (#18124) 2023-03-11 11:43:45 -05:00
doc.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00: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-14 01:12:09 +00:00
installer.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00:00
lint.rs chore(cli): update deno_lint to 0.41.0 (#17997) 2023-03-02 21:50:17 +00: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-14 02:44:16 +00:00
standalone.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00:00
task.rs fix: lazily surface errors in package.json deps parsing (#17974) 2023-03-03 18:27:05 -04:00
test.rs refactor: --watch commands use deno_core::resolve_url_or_path (#18172) 2023-03-14 02:44:16 +00:00
upgrade.rs ref(cli): Add better error message when powershell is missing during upgrade (#17759) 2023-02-16 21:14:57 +02:00