kungfusheep / SublimeLinter-contrib-stylelint

this repo is no longer maintained - please see https://github.com/SublimeLinter/SublimeLinter-stylelint
MIT License
116 stars 19 forks source link

Issue while working on a file located in a network drive #34

Closed acezard closed 2 years ago

acezard commented 8 years ago

Hi, my system is windows 10.

Here is my test config:

test/
  --node_modules/ (contains postcss and stylelint)
  --file.scss (contains test file)
  --.stylelintrc (contains stylelint config)
  --package.json (contains postcss and stylelint dep)

It works perfectly fine if this folder is located on my local drive (C:).

If I install this folder on my Z: drive which is a network drive, now I have a huge problem. The linting is delayed by like 5-10 minutes ! Which is unusable of course.

Here's some console ouptput: When the plugin is init: SublimeLinter: stylelint: file.scss ['C:\\Program Files\\nodejs\\node.exe', 'C:\\Users\\anc\\AppData\\Roaming\\Sublime Text 3\\Packages\\SublimeLinter-contrib-stylelint/stylelint_wrapper.js', '@', '--config', 'Z:\\anc\\stylelint\\.stylelintrc']

Then the output is as normal, but happens at least 5 minutes after the initialization :

SublimeLinter: stylelint output:

c:/users/anc/appdata/local/temp/SublimeLinter3-anc/file.scss
  61:5   ×  Expected property "border" to come before property "color"                   declaration-block-properties-order       

If I use stylelint cli, which is installed on my C:, linting the distant file on shared network, I have near instant output in windows cmd. If I use VSCode with the stylelint plugin, it's also near instant.

Any idea ?