This gist goal is to illustrate an issue occuring when rollup
is executed in "watch" mode: when a
modification occurs, the rust code is re-compiled, but quickly after that rollup
is making a
second bundle pass and clear the screen from any potential warning output by rust
.
npm i
npm run watch
# in another terminal
touch lib.rs