-
Notifications
You must be signed in to change notification settings - Fork 57
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
Some rewatch fixes #1033
Some rewatch fixes #1033
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -376,7 +376,7 @@ function triggerIncrementalCompilationOfFile( | |
return; | ||
} | ||
const workspaceRootPath = projectRootPath | ||
? utils.findProjectRootOfFile(projectRootPath) | ||
? utils.findProjectRootOfFileInDir(projectRootPath) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
So, the correct fix here would be to make There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be fixed now |
||
: null; | ||
|
||
const bscBinaryLocation = project.bscBinaryLocation; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I follow here, why is
@
prepended?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a way to create a namespace entry (entry module for a namespace in rewatch) - a feature we created and use @ Walnut.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It allows you to have a namespace and create an entry module to the namespace, so not all modules are exposed. The
@
is added to the normal namespace module, so it's impossible to import it syntaxwise, and it's opened in the entry module of the namespace, in that module it's possible to alias the modules that are exported from the package.