Skip to content

Commit

Permalink
Display a prompt message at the beginning of the build to prevent the…
Browse files Browse the repository at this point in the history
… user from mistakenly thinking that the program is stuck when the arduino-cli starts slowly in some cases
  • Loading branch information
zhengyangliu committed May 30, 2023
1 parent 342690c commit c58f8cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/upload/arduino.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ class Arduino {
});

const arduinoBuilder = spawn(this._arduinoCliPath, args);
this._sendstd(`Start building...\n`);

arduinoBuilder.stderr.on('data', buf => {
const data = buf.toString();
Expand Down

0 comments on commit c58f8cd

Please sign in to comment.