Yusuke Tanaka
fd023cf793
fix(ext/flash): graceful server startup/shutdown with unsettled promises in mind ( #16616 )
...
This PR resets the revert commit made by #16610 , bringing back #16383
which attempts to fix the issue happening when we use the flash server
with `--watch` option enabled.
Also, some code changes are made to pass the regression test added in
#16610 .
2022-11-24 18:38:09 +01:00
Aaron O'Mullan
238590aa9f
chore: use Rust 1.65.0 ( #16688 )
2022-11-18 02:59:10 +01:00
Yoshiya Hinosawa
336e96a114
fix(ext/flash): revert #16383 (graceful server startup/shutdown) ( #16610 )
...
#16383 made some of Node compat test cases flaky in deno_std (and when
it fails it causes segfaults).
See https://github.com/denoland/deno_std/issues/2882 for details
2022-11-13 17:35:28 +09:00
Divy Srivastava
ff92febb38
fix(ext/flash): graceful server startup/shutdown ( #16383 )
...
Fixes https://github.com/denoland/deno/issues/16267
Co-authored-by: Yusuke Tanaka <yusuktan@maguro.dev>
2022-11-11 19:11:52 +05:30
Bartek Iwańczuk
3922ceda03
test: disable run_watch_external_watch_files on macOS ( #16477 )
...
This test has hung a lot recently on macOS. I am not sure if this is
because of a bug in the test or because of the macOS runner that is extremely
slow and flaky in general.
2022-10-30 21:25:15 +01:00
David Sherret
1464b756a4
refactor: move out test files from root testdata directory into sub directories ( #15949 )
2022-09-19 10:32:21 -04:00
Nayeem Rahman
118dd47ad0
fix(watch): ignore unload errors on drop ( #15782 )
2022-09-06 13:18:23 +02:00
2shiori17
0aca3f0690
fix(cli): Improve error message in watch mode ( #15184 )
2022-07-13 22:01:09 +02:00
David Sherret
3455f16079
chore(test_util): add new string assertion macros ( #14928 )
2022-06-21 15:25:07 -04:00
Mark Ladyshau
d4f609d8e7
feat(test): update test summary report ( #14629 )
2022-06-14 20:51:49 +02:00
Bartek Iwańczuk
4a0a412d7c
feat: no type-check by default ( #14691 )
...
This commit changes default default behavior of type checking
for several subcommands.
Instead of type checking and reporting type errors only for local
files, the type checking is skipped entirely. Type checking can
still be enabled using the "--check" flag.
Following subcomands are affected:
- deno cache
- deno install
- deno eval
- deno run
2022-06-13 23:13:16 +02:00
Bartek Iwańczuk
2769d60250
fix: watch dynamic imports in --watch ( #14775 )
...
Fix dynamic imports being watched in the watcher when using `--watch`.
2022-06-08 12:07:25 +02:00
Bartek Iwańczuk
db13e455ec
fix(watcher): don't clear screen on start ( #14351 )
2022-04-21 17:21:59 +02:00
Bartek Iwańczuk
8ae17026cb
feat: Add "deno check" subcommand for type checking ( #14072 )
...
This commit adds new "deno check" subcommand.
Currently it is an alias for "deno cache" with the difference that remote
modules don't emit TS diagnostics by default.
Prints warning for "deno run" subcommand if "--check" flag is not present
and there's no "--no-check" flag. Adds "DENO_FUTURE_CHECK" env
variable that allows to opt into new behavior now.
2022-04-11 01:12:51 +02:00
David Sherret
1c37ac3352
chore(tests): use custom temp dir creation for the tests ( #14153 )
2022-04-01 11:15:37 -04:00
David Sherret
6268a1a6fd
chore: replace .expect("...")
calls with .unwrap()
in test code ( #14081 )
2022-03-22 15:10:00 -04:00
Zheyu Zhang
5490cfed20
feat(cli): add "--no-clear-screen" flag ( #13454 )
...
This commit adds "--no-clear-screen" flag which can be used
with "--watch" flag to disable clearing of terminal screen on
each file change.
2022-01-31 17:39:39 +01:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Kitson Kelly
8547a37132
chore: update deno_graph and deno_doc ( #13173 )
2021-12-22 14:25:06 +01:00
Nayeem Rahman
9ffc7edc23
refactor(cli): use GraphData for check and emit ( #12960 )
2021-12-16 21:45:41 +11:00
Jesper van den Ende
5a3ded6611
feat(watch): support watching external files ( #13087 )
2021-12-15 16:04:43 -05:00
Bartek Iwańczuk
13d7d57227
feat(watcher): clear screen on each restart ( #12613 )
...
This commit adds automatic clearing of terminal screen after
restarting execution on file change.
2021-12-11 01:12:25 +01:00
David Sherret
f530189c50
fix(watch): mitigate race condition between file write by other process and watch read ( #13038 )
2021-12-09 20:24:37 -05:00
David Sherret
2794d0b7a2
fix(fmt/lint): strip unc paths on Windows when displaying file paths in lint and fmt ( #12606 )
2021-11-01 16:22:08 -04:00
Zheyu Zhang
3fb23ab772
fix(cli): linter/formater watches current directory without args ( #12550 )
2021-10-30 19:20:56 +02:00
Zheyu Zhang
85a2943435
fix(cli): lint/format all discoverd files on each change ( #12518 )
2021-10-30 09:59:53 +02:00
Kitson Kelly
a7baf5f2bb
refactor: integrate deno_graph into CLI ( #12369 )
2021-10-11 08:26:22 +11:00
CGQAQ
c555b31d40
feat(lint): add support for --watch flag ( #11983 )
2021-10-05 23:07:38 +02:00
Ryan Dahl
da25bbff88
refactor: clean up watcher tests ( #12200 )
2021-09-23 15:12:22 -04:00
Casper Beyer
a3fd4bb998
fix(cli): dispatch unload event on watch drop ( #11696 )
2021-08-24 22:34:09 +02:00
Casper Beyer
71e558c71c
test: re-enable test watch tests and mark as flaky ( #11669 )
2021-08-18 15:35:24 +02:00
Bartek Iwańczuk
fd94575576
test: mark run_watch test as flaky ( #11668 )
2021-08-12 13:51:27 +02:00
David Sherret
15a763152f
chore: move test files to testdata directory ( #11601 )
2021-08-11 10:20:47 -04:00
Casper Beyer
9b89668065
fix(cli): make --doc work with --watch ( #11183 )
2021-07-10 01:15:15 +02:00
David Sherret
098a7c8886
chore: split up integration_tests.rs into separate files ( #11131 )
2021-06-27 13:27:36 -04:00