Hello anyone else having problems with ESLint afte...
# help
c
Hello anyone else having problems with ESLint after upgrade to 1.0.0-beta.21?
t
Hey 1.0 no longer builds eslint into it
You'll need to set it up externally
c
Thank you!
c
Fixed! Thank you 👍
Also whenever I saved a file on 0.6 the Live Server would rebuild the Lambda Function but in 1.0 these is not current happening. Any idea why or how to trigger the Live Server to rebuild all?
@thdxr
t
can you share a bit more about your directory structure?
c
It's a monorepo with packages, services and utils using yarn workspaces. All the lambda functions are called from services and uses packages to control the logic. Some function would rebuild but others don't.
t
where is your stacks code?
c
on a directory outside src (where I have my packages,services,utils)
t
hm ok and is this TS or JS?
c
TS
t
hm I don't think anything changed with how we watch files between 0.6 and 1.0. Functions only rebuild once they've been invoked once, you're saying you have a function you invoke and then you edit the file and it doesn't rebuild?
c
Yeah exactly, the one that is not being rebuild it's a AppSync source Lambda Function.
Found the problem: I was calling it only from a Cron function that makes a Query to my AppSync API. If I make a Query from my front end app it will now start to rebuild correctly 😄 I've been searching for so long how to trigger the rebuild on Live Server. Never could found the documentation about this (Solution: Functions only rebuild once they've been invoked once)