Skip to content

Commit

Permalink
Clear and Sync as one shell exec
Browse files Browse the repository at this point in the history
  • Loading branch information
aurium committed May 10, 2020
1 parent d4f7cf2 commit e199f83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ execSyncOptions =

buildAndTest = (done, includingParser = no) ->
try
execSync "clear; printf '\\033[3J'", execSyncOptions
execSync 'sync', execSyncOptions
execSync "clear && sync && printf '\\033[3J'", execSyncOptions
console.log "Recompiling#{if includingParser then ', including the parser' else ''}..."
if includingParser
execSync 'git checkout lib/*', execSyncOptions
Expand Down

0 comments on commit e199f83

Please sign in to comment.