You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used serverless-offline:5.12.1 until recently and upgraded to 6.4.0. As that version has a problem with re-compilng JS correctly I added useChildProcesses: true so when I change the code, the change reflects in dev server. But I noticed when errors are thrown, the error includes line numbers in thousands. That means the source-map is not working correctly, So I changed useChildProcesses: false and the errors give correct line numbers. But the problem is hot reloading does not work.
bellow line shows the type of error message lines I get with 6.4.0 with useChildProcesses: true
\\build\\service\\index.js:131133:15
bellow is my serverless.yml settings for serverless-offline
Hi,
I used serverless-offline:5.12.1 until recently and upgraded to 6.4.0. As that version has a problem with re-compilng JS correctly I added
useChildProcesses: true
so when I change the code, the change reflects in dev server. But I noticed when errors are thrown, the error includes line numbers in thousands. That means the source-map is not working correctly, So I changeduseChildProcesses: false
and the errors give correct line numbers. But the problem is hot reloading does not work.bellow line shows the type of error message lines I get with 6.4.0 with
useChildProcesses: true
\\build\\service\\index.js:131133:15
bellow is my serverless.yml settings for serverless-offline
plugins:
the expected behaviour is bellow, (ex; using
useChildProcesses: false
with 6.4.0)build\\service\\webpack:\\verification-service.ts:205:23
clearly there's a difference in compiled files as seen in those outputs.
Environment
serverless
version: 1.74.1serverless-offline
version: 6.4.0node.js
version: 12.17.0OS
: Windows 10Is there any solution to this?
The text was updated successfully, but these errors were encountered: