Git Product home page Git Product logo

Comments (9)

thomasjm avatar thomasjm commented on August 15, 2024

Stack currently has an fsnotify constraint of < 0.4, are you trying to update Stack to the new version?

Sure, I'd be fine with exporting WatchConfig.

from hfsnotify.

thomasjm avatar thomasjm commented on August 15, 2024

6433c5a

from hfsnotify.

mpilgrem avatar mpilgrem commented on August 15, 2024

@thomasjm, many thanks. I am indeed in the process of making Stack 'fsnotify >= 0.4 ready'. The existing upper bound was added to help people who use Cabal (the tool) to build Stack.

from hfsnotify.

mpilgrem avatar mpilgrem commented on August 15, 2024

@thomasjm, may I ask another question: in the Cabal file, why do you use executable tests, rather than a test-suite section? (Stack and Cabal (the tool) build executables with the library, but only build test suites on request.)

from hfsnotify.

thomasjm avatar thomasjm commented on August 15, 2024

It's because I like to use the TUI interface of Sandwich to run tests in development, which works better as an executable (codedownio/sandwich#35).

We could backtrack on this if it's causing problems though.

If you're a Stack developer, any chance you'd be the right person to talk to about making stack test able to set up a TTY for the test process? :)

from hfsnotify.

mpilgrem avatar mpilgrem commented on August 15, 2024

On executable tests, 'problems' is putting it too high, but I think it would be good for users of the fsnotify library to be able to choose not to build the executable (and its dependencies). Would you consider using a Cabal flag?

On Stack, I am more of a janitor than an architect but if you have an idea about how stack test (aka stack build --test) could be extended, please do open an issue in the Stack repository.

from hfsnotify.

thomasjm avatar thomasjm commented on August 15, 2024

Would you consider using a Cabal flag?

It's certainly possible, although I don't enjoy tweaking cabal flags in packages I use. The best solution in general would be to fix this in Stack (and also Cabal). But in the short term, if it's causing pain for hfsnotify users, it's not a big deal to turn it back into a test-suite.

from hfsnotify.

thomasjm avatar thomasjm commented on August 15, 2024

c7e9722

from hfsnotify.

mpilgrem avatar mpilgrem commented on August 15, 2024

Thanks!

from hfsnotify.

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.