react-static
react-static copied to clipboard
Replace synchronous executions with async
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).