Why does it rebuilds everytime I save without any changes?
Describe the bug I'm running with serverless-offline but when I save in my vscode it automatically rebuilds without any code change. I do have a habit spamming save shortcut key it rebuilds on another process.
To Reproduce
https://user-images.githubusercontent.com/71201/201933001-7c87167d-5928-44b5-bad6-a9a3e4847afe.mp4
For this video I'm using the example. its not quite noticeable because of small project. if there's alot of typescript files the build takes around 5-8 secs for my project and most of the time my machine lags out
Expected behavior Should not rebuild? or perhaps limit to only one build process?
- OS: Mac M1
- Serverless Framework Version: 3.23.0
- Plugin Version: 1.33.1
- serverless-offline: 11.3.0
@rad182 could it be that your files are located in a folder synced with iCloud? I once encountered the same issue and it turned out the problem was that iCloud synchronization caused infinite rebuild.