watch for non-macos
source map path and syntax fix