Skip to content

Commit

Permalink
refactor: Log local Appium server start status
Browse files Browse the repository at this point in the history
Mitigate confusion regarding the local Appium server status.
  • Loading branch information
dcalhoun committed Aug 28, 2023
1 parent 18d3652 commit ead425e
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,14 @@
*/
const { start } = require( './appium-local.js' );

start( { flags: '--allow-cors' } );
start( { flags: '--allow-cors' } ).then(
() => {
// eslint-disable-next-line no-console
console.log( 'INFO: Appium server started successfully' );
},
( error ) => {
// eslint-disable-next-line no-console
console.error( error );
process.exit( 1 );
}
);

0 comments on commit ead425e

Please sign in to comment.