components icon indicating copy to clipboard operation
components copied to clipboard

Is it possible to "serverless dev" but not auto deploy?

Open igoodwinVolly opened this issue 2 years ago • 0 comments

Description

Currently, I don't think it is possible to turn off auto deploys when running Serverless commands, mainly the serverless dev command. I'd like to be able to view the logs from my Serverless Components app (an Express API hosted in AWS) without auto deploying changes on save.

Additional Data

A serverless log would solve 2 issues for me:

  1. While the saving => auto deploying feature is nice, it is introducing regression errors as when I save any file from my backend, other developer's updates are rolled back as I do not have the latest code from the associated Github branch before deploying to Serverless.
  2. No need to check AWS logs (which takes extra time to read through the CloudWatch Logs)

I'd like to know if there is a way (or possible to introduce a new way) to essentially serverless log the API but not auto-deploy.

Serverless Components v3.18.1 [email protected] Mac OS Mojave 10.14.6

igoodwinVolly avatar Mar 09 '22 22:03 igoodwinVolly