Open krainboltgreene opened 8 years ago
So it's not the issue I thought it was (bug with babel-node) but I am having odd issues.
This is almost certainly related to babel-node-debug
using its locally installed babel dependency, which probably detects .babelrc
relative to babel-node-debug/
instead of $PWD
. I'm not sure when I'll be able to get to this (Christmas), but it's probably a simple fix.
Thanks for reporting!
If my suspicion is correct (still need to verify), might be possible to spawn a child process with the properly set cwd:
spawn('bash', ['-i'], {
cwd: new_cwd,
env: new_env,
stdio: 'inherit'
});
Did you fix this ? =)
Don't remember. I'll take a look.
For some reason it's not reading my babelrc file, so it doesn't know what to do with my syntax :(