Age | Commit message (Collapse) | Author |
|
|
|
|
|
This commit adds "--no-clear-screen" flag which can be used
with "--watch" flag to disable clearing of terminal screen on
each file change.
|
|
|
|
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
|
|
This commit adds automatic clearing of terminal screen after
restarting execution on file change.
|
|
watch read (#13038)
|
|
and fmt (#12606)
|
|
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
(#11289)
parking_lot is already transitively used in tokio via the "full" cargo feature
|
|
This commit implements file watching for deno test.
When a file is changed, only the test modules which
use it as a dependency are rerun.
This is accomplished by reworking the file watching infrastructure
to pass the paths which have changed to the resolver, and then
constructing a module graph for each test module to check if it
contains any changed files.
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Bert Belder <bertbelder@gmail.com>
|
|
|
|
This commit moves Deno JS runtime, ops, permissions and
inspector implementation to new "deno_runtime" crate located
in "runtime/" directory.
Details in "runtime/README.md".
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
|
|
This commit makes the file watcher continue to work even if module
resolution fails at the initial attempt, allowing us to execute `run`
or `bundle` subcommand when a script has invalid syntax. In such
cases, the watcher observes a single file that is specified as an
command line argument.
|
|
This commit adds support for "--watch" flag for "bundle"
and "fmt" subcommands.
In addition to this, it refactors "run --watch" command so that
module resolution will occur every time the file watcher detects
file addition/deletion, which allows the watcher to observe a file
that is newly added to the dependency as well.
|
|
This commit rewrites file watcher used with --watch flag.
Instead of creating new watcher after each restart, only a single
watcher is created for whole process. Additionally debouncing
mechanism has been added to prevent infinite restart loops
if multiple files were changed in quick succession.
Co-authored-by: bartossh <lenart.consulting@gmail.com>
|
|
|
|
|
|
|
|
Co-authored-by: Sebastian Seedorf <mail@sebse.de>
|