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
{{ message }}
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
Note that truffle console is more feature-rich than the Node REPL: it supports things like automatic awaiting of promises. But yes, it'd be nice to mention this.
Automatic awaiting of promises is a bad idea IMO. We can suggest use with --experimental-repl-await to be able to use await in the REPL.
truffle console will still have more features, sure. For example, it automatically loads all artifacts. I'd say we're catering to different users who may appreciate the minimalism.
My recommendation is that add documentation guidance how to open the normal ts-node console (or node) console and import modules. Please do not add any automatic or hidden variables that pop out to the existing from nowhere - try to keep it so that the code runs same way regardless if it is a source code file or REPL prompt.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
documentationImprovements or additions to documentation
Truffle users are used to
truffle console
. It is also possible to get a REPL connected to Test Environment. We should add this to our documentation.The text was updated successfully, but these errors were encountered: