-
Notifications
You must be signed in to change notification settings - Fork 5.2k
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Behaviour of --reload #1044
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the
--reload
flag does not invalidate the transpiled versions of any local modules. It only causes cached versions of non-local modules to be invalidated, which of course in turn invalidates their local transpiled versions.While it might be unlikely, there is still a valid scenario where a user will make a change in another module that impacts the types that are available to a local module that is already transpiled, but is not caught by the compiler because it skips transpilation.
It feels to me it is less surprising that
--reload
would also invalidate any local modules that are transpiled, irrespective of if their source has changed.The text was updated successfully, but these errors were encountered: