Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebStorm open file fail. On macOS #5

Closed
gibson opened this issue Sep 6, 2016 · 1 comment
Closed

WebStorm open file fail. On macOS #5

gibson opened this issue Sep 6, 2016 · 1 comment
Labels

Comments

@gibson
Copy link

gibson commented Sep 6, 2016

I use webpack, my config is

setup:              function (app) {
        app.use(openInEditor({editor: 'webstorm'}));
    }

When i try open file from component-inspector - your package trail first slash in file path and try to open file relative from webstorm path.

Temporary i fix it by comment line

    filename = path
      .resolve('/', filename);
      // .replace(/^([a-z]+:)?\//i, '');

in index.js

@lahmatiy lahmatiy added the bug label Sep 6, 2016
@lahmatiy
Copy link
Owner

lahmatiy commented Sep 6, 2016

Fixed in 1.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants