serverless / components

The Serverless Framework's new infrastructure provisioning technology — Build, compose, & deploy serverless apps in seconds...
https://www.serverless.com
Apache License 2.0
2.31k stars 181 forks source link

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

Open igoodwinVolly opened 2 years ago

igoodwinVolly commented 2 years ago

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 Express@3.0.1 Mac OS Mojave 10.14.6