Using babel-watch
, when debugging through the Chrome inspector, I don't have source maps available.
When running the same code using babel-node
, with the same .babelrc
, source maps are available.
Here is my .babelrc:
{
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } } ]
],
"sourceMaps": "inline"
}
How do I make source maps available in babel-watch
?