Is there a reason `commandHooks` doesn’t seem to c...
# help
d
Is there a reason
commandHooks
doesn’t seem to console the cli output of commands ? I can get a command
echo Hello
to out…. but
yarn build
is silent?
t
That's strange
I'll check how we spawn
d
For the moment, I’ve just copied the same approach that StaticSite takes for these commands
t
We do
Copy code
execSync(cmds.join(" && "), {
        cwd: srcPath,
        stdio: "pipe",
      });
I think maybe that should be inherit? Don't knonw what pipe does off thet op of my head
d
did you validate that it is swallowing output?
t
Haven't tried yet
d
kk… just want to be sure I’m not crazy… but I tried something as simple as
ls
and its swallowed