Indium icon indicating copy to clipboard operation
Indium copied to clipboard

experimental-repl-await

Open garrett-hopper opened this issue 5 years ago • 1 comments

Indium doesn't seem to work with Node's --experimental-repl-await flag.

.indium.json

{
  "configurations": [
    {
      "name": "node",
      "type": "node",
      "command": "node --experimental-repl-await"
    }
  ]
}

Running await 1 in *JS REPL* still results in SyntaxError: await is only valid in async function.

garrett-hopper avatar Nov 07 '19 19:11 garrett-hopper

Thanks, I checked in Chrome devtools and it works, so I'll investigate.

NicolasPetton avatar Nov 14 '19 08:11 NicolasPetton