Coder Social home page Coder Social logo

Comments (17)

rizowski avatar rizowski commented on May 27, 2024 1

This issue most likely resides in the help parser. Formatting or spaces might have changed. It will be the first thing to break since it needs to run before anything else can occur.

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024 1

Cool, I am going to pull this in and publish 2.1.11

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

@rivertam I noticed this today as well. Thanks for posting.

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

Of course. Thanks for the quick response.

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

@rivertam This should be fixed on OSX and Linux. I am currently verifying it is fixed on Windows.
#83
Could you please use the ew-81 branch and verify it is also fixed for you?

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

Well, I don't really know how to do that, but I did the following:

  1. Clone the repo
  2. Check out the ew-81 branch
  3. Run npm i -g . inside the folder
  4. Try esw in my own repository

and I get
screen shot 2016-05-03 at 1 21 37 pm

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

My package.json is specified in /Users/ben/frontend, not /Users/frontend/build/

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

Try this

  1. git clone https://github.com/rizowski/eslint-watch.git -b ew-81
  2. npm i && npm link
  3. CD into the project you saw the error
  4. esw

Another way of doing it is specifying it in your package.json

...
"scripts": {
  "lint": "esw --quiet"
},
...
"devDependencies": {
  "eslint-watch": "rizowski/eslint-watch#ew-81"
}

npm run lint

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

Alas, the same issue.

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

Can you run it with DEBUG=* esw so I can see what it is doing?

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

screen shot 2016-05-03 at 2 02 17 pm

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

@rivertam Do you have any other projects you can test this on?

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

@rizowski Hmm, yeah it seems to be working on another repo, but it's not actually watching. Just says "clean" and then exits (not sure if this is normal behavior). I am trying to use this within frontend though.

I'd include the debug logs for the "working" repo, but they're insanely long (over 1000 lines long; not sure how much)

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

I think for the first project you just need to add an ignore rule for your build folder. It looks like it is trying to lint your build folder, which in my experience I haven't wanted to do since I am either building my assets, minifying code, etc etc.. Is that the case here?

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

Ah, yeah, that seems to be the problem. It's still exiting immediately, but that's a PEBKAC error; just forgot to specify -w flag haha.

from eslint-watch.

rivertam avatar rivertam commented on May 27, 2024

Thank you!

from eslint-watch.

rizowski avatar rizowski commented on May 27, 2024

2.1.11 has been released:
https://github.com/rizowski/eslint-watch/releases/tag/v2.1.11
https://www.npmjs.com/package/eslint-watch

from eslint-watch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.