From edc46a98e79ce7fff7439abde7fa02c24c5f4f4b Mon Sep 17 00:00:00 2001 From: AJ Stuyvenberg Date: Thu, 19 Jan 2023 18:18:31 -0500 Subject: [PATCH] Better gif - thanks to Rehan van der Merwe --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 14117f2..e55ed25 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,14 @@ [![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com) This [Serverless](https://github.com/serverless/serverless) plugin provides a fast iterate -> test loop in your CLI. + Logs delivered from CloudWatch to your terminal. + Deployments skip CloudFormation, and use direct `updateFunction` and `updateFunctionConfiguration` API calls which take only a few seconds. Supports all runtimes -https://user-images.githubusercontent.com/1598537/211593551-07cd4f67-ad3d-43ab-9962-5790b2aeba3f.mov +![sls-run-watch-reduced](https://user-images.githubusercontent.com/1598537/213583355-1c08619f-da92-454d-b431-3df21d40ed09.gif) ## Documentation - [Installation](#installation) @@ -16,7 +18,11 @@ https://user-images.githubusercontent.com/1598537/211593551-07cd4f67-ad3d-43ab-9 - [Serverless Framework Support](#serverless-framework-support) ## Installation -`serverless plugin install -n serverless-run-watch`, or `npm i -D serverless-run-watch`, and then add `serverless-run-watch` to the `plugins` section of your `serverless.yml` file. +`serverless plugin install -n serverless-run-watch` + +then run + +`serverless run-watch --function ` ## Command Line Options