diff --git a/package.json b/package.json index 5620fdc..c1e2f89 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "build": "vue-cli-service build --modern --no-clean", "lint": "vue-cli-service lint", "cron": "node src/app/cron", + "start": "npm run sync && npm run cron", "locale-man": "node node_modules/locale-man/ -l en,es,es-MX,fr,fr-CA,de,nl,it,ru,ja -o src/locale", "splatnet": "node src/app splatnet", "twitter": "node src/app twitter", diff --git a/src/app/sync/index.js b/src/app/sync/index.js index dae1865..609f6e4 100644 --- a/src/app/sync/index.js +++ b/src/app/sync/index.js @@ -15,6 +15,8 @@ function sync() { return; } + console.info('Syncing files...'); + const syncer = new S3Syncer(); return syncer.sync(); }