shamadee / wasm-init

Build tool and template generator for WebAssembly Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gulp recompile failing silently

edge0701 opened this issue · comments

wasm-compile is returning a status code of 0, even for failed compilation, meaning that the gulp recompile process is failing silently.

What operating system and Node version are you running on? Thanks!

Latest commit should solve this.

Nice work. Almost there.
The if (stderr) clause works, but it still needs to call the callback (with, for instance, cb(true)) so that the gulp process can continue. So when we correct the error, gulp will try and recompile again. Otherwise it just halts gulp completely.

Ok, I'm seeing that I will need to rethink the compile process with gulp a little. For now, I issued another commit, which should fix this. Thanks for your advice!