-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Recompile .sma files when .inc they depend on is updated on watch #21
Comments
amxxpack does not support this functionality. It only compiles I would prefer not to spend time on implementing such a complex functionality, as re-saving a file is not a significant issue. |
I understand that it adds some complexity, but not as much as you make it seem; experimentation is required to prove this. Anyway, I just wanted to bring this issue to your attention. I know this is not a high priority thing, maybe this can be mentioned somewhere as a known limitation. |
This implementation requires an extra step every time the file changes, also building a dependency tree in memory to handle nested includes and process the tree every save. |
Big performance hit for sure! |
Sometimes, we just want to update an include file, let's say
foo.inc
, but this doesn't trigger recompilation of .sma files who depend on this include.One strategy could be to check on watched .sma files if they have
#include <foo>
on it.The text was updated successfully, but these errors were encountered: