air icon indicating copy to clipboard operation
air copied to clipboard

Convert backslashes to slashes for easier cross platform usage.

Open trading-peter opened this issue 2 years ago • 0 comments

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.

trading-peter avatar Nov 16 '21 10:11 trading-peter