-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(debugger): Update filewatch to look for .map and .js and send /r…
…eload to MC (#248) Similar to this PR [here](#246) but leans into VSCode settings for added flexibility. By using VSCode settings, users can choose to save settings globally or per workspace and it also gives us a place for documentation. Thanks for the general glob pattern idea Dingsel. Will this solve your use cases? - file watching is off by default - if enabled then both source map clear and /reload happen on source changes. - if only `localRoot` is defined (no `sourceMapRoot`), the file watch pattern is *.js files from `localRoot` - if `sourceMapRoot` is defined, the file watch pattern is for *.js and *.map from `sourceMapRoot` - if `globPattern` is specified, the root is the workspace. - delay for sending /reload to MC, minimum is 100ms to debounce the file changes. Added a button to the home panel to open Settings UI directly to the debugger page. Addresses issue #130 --------- Co-authored-by: Raphael Landaverde <[email protected]>
- Loading branch information
1 parent
2b1b24f
commit e63585a
Showing
7 changed files
with
108 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters