You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Personally I'm not a fan of the recent changes in Deno 1.46 to conflate deno run with deno task. I think deno run should be for running scripts and deno task should be for running tasks. For example, the recent changes to deno run have made it difficult to support running from an import map #19955
To help people with this, I think we should instead have deno run <task> output Did you mean `deno task <task>`?.
The text was updated successfully, but these errors were encountered:
@bartlomieju , it's a bit hard to keep up - can you briefly note just what the final behavior will be for run and task, and to what extend will run be able to execute/suggest tasks?
deno run <task> works - it's an alias for deno task <task>. deno run will work exactly like before, but if you try to run something like:
$ deno run dev
The Deno will look for ./dev file, if it's not present it will look up dev task in either deno.json or package.json and it doesn't exist you will get an error saying that ./dev file doesn't exist.
Personally I'm not a fan of the recent changes in Deno 1.46 to conflate
deno run
withdeno task
. I thinkdeno run
should be for running scripts anddeno task
should be for running tasks. For example, the recent changes todeno run
have made it difficult to support running from an import map #19955To help people with this, I think we should instead have
deno run <task>
outputDid you mean `deno task <task>`?
.The text was updated successfully, but these errors were encountered: