Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Build: Packages: Ignore non-JS file events #7697
Editors (e.g. Vim, gedit) typically rely on temporary swap files to manage a user's editing session. When editing a file, e.g.
a temporary file may be created:
This PR checks for filename format to prevent most scenarios; essentially, files should end with
Without this guard, upon creation of a swap file, the watcher will attempt to build from the swap file, resulting in syntax errors.
How has this been tested?
Types of changes