-
Notifications
You must be signed in to change notification settings - Fork 71
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
FileSystemWatcher not working properly #110
Comments
I'll have a look. It will take take some time because I'm swamped with my primary work. |
Would you accept a PR with the changes I've outlined? |
I don't use *.sql file much so it's hard for me to make this call. |
@dmitry-a-morozov I went ahead and implemented it. Feel free to ignore if you think its a bad idea. :) |
Cool, |
I was surprised to see changes to my sql file not being picked up:
So I looked in the code and found that the FileSystemWatcher would watch the source folder, with a filter of 'sql/Assessments.sql'. So I changed it to this and it worked:
Then, I couldn't load this .fs file from another folder, so I changed it to
and it compiles, but stops picking upp changes because the FSW code seems to fail when file is rooted. And this final scenario works, even when doing
#load
from another folder:Question: What is the purpose of ResolutionFolder? The TP will only ever read one file.
These are the changes I'd like to see:
__SOURCE_DIRECTORY__
to make it loadable from scripts in other folders.ResolutionFolder
. It no longer serves a purpose.These together would make the simplest first scenario Just Work™
The text was updated successfully, but these errors were encountered: