Comments (9)
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.
from hfsnotify.
@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.
@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.
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.
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.
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.
from hfsnotify.
Thanks!
from hfsnotify.
Related Issues (20)
- No modification notifications for symlinks HOT 5
- Doesn't work on macOS unless -N is specified HOT 1
- Allow debouncing regardless of if event is same file HOT 5
- Exceptions in Action gets swallowed HOT 7
- Drop shelly dependency HOT 1
- Does creation/deletion of a hard-link trigger a modification event? HOT 2
- Windows 10, no Event unless Pulling is forced. HOT 6
- Debounce config works in very unexpected way (only on Win32) HOT 1
- When events fire too quickly, the whole watch stops HOT 1
- `watchDir` misses some Git events, `watchTree` shows them all on Linux HOT 6
- Fire event variety "CloseWrite" HOT 3
- removeWatch: invalid argument (Bad file descriptor)
- Likely O(n^2) behaviour for `watchTree` HOT 17
- 0.4 release HOT 17
- stuck when compiling HOT 13
- Build failure on FreeBSD HOT 14
- Problems with fsnotify-0.4.0.1 on Windows HOT 6
- Build failure on windows for fsnotify-0.4.0.1 HOT 1
- Windows error tag (-1) is outside of enumeration's range (0,4) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hfsnotify.