react-static icon indicating copy to clipboard operation
react-static copied to clipboard

Replace synchronous executions with async

Open rpearce opened this issue 10 years ago • 0 comments

For example, anything using execSync should be replaced with the async equivalent of

await exec('command', errorCallback);

except with regards to nodemon. That must stay like this

execSync('node_modules/.bin/nodemon', { stdio: [0,1,2] });

to ensure proper logging (unless a better solution presents itself).

rpearce avatar Nov 15 '15 19:11 rpearce