air
air copied to clipboard
Convert backslashes to slashes for easier cross platform usage.
While using air on windows I noticed that the tool would start to monitor sub directories that where added to the exclude_dir section of my toml file.
After some investigation it turns out that rewriting paths to something like "parent\sub" is needed on windows. This is unfortunate if some team members use Windows while others use Linux or MacOS.
This change allows to keep the forward slash format for matching against excluded/include_dir/file entries independently from the underlying OS.