Skip to content

Commit

Permalink
Merge pull request #1042 from obsidiansystems/aa/reflex-platform-1.1
Browse files Browse the repository at this point in the history
dep: reflex-platform -> 1.1.0.0
  • Loading branch information
ali-abrar authored Aug 1, 2023
2 parents 8e942c0 + 579453b commit 8654870
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 23 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This project's release branch is `master`. This log is written from the perspective of the release branch: when changes hit `master`, they are considered released.

## Unreleased

* Update reflex-platform to 1.1.0.0

## v1.1.0.0 - 2023-05-24

* Update reflex-platform to version 1.0.1.0 with GHC 8.10 and updated nixpkgs
Expand Down
7 changes: 0 additions & 7 deletions dep/ghcid/default.nix

This file was deleted.

7 changes: 0 additions & 7 deletions dep/ghcid/github.json

This file was deleted.

6 changes: 3 additions & 3 deletions dep/reflex-platform/github.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"owner": "reflex-frp",
"repo": "reflex-platform",
"branch": "release/1.0.1.0",
"branch": "release/1.1.0.0",
"private": false,
"rev": "50099ce2bca93ef69cea615ec72152b4a7648de4",
"sha256": "1ldzf3qznpysf4drkrvj7ysmdvrv6ddprnniylvcxccpp0f4krb7"
"rev": "4aa4e254d5f6134dcf700a55c4c065376f7061da",
"sha256": "1flwgp76j5v1m4fbdnk5psnpzx2m1vika6lylvs9l9x6krwbv7d6"
}
2 changes: 1 addition & 1 deletion haskell-overlays/misc-deps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ rec {
nix-derivation = haskellLib.doJailbreak super.nix-derivation;
algebraic-graphs = haskellLib.doJailbreak super.algebraic-graphs;
snap = haskellLib.doJailbreak super.snap;
ghcid = self.callCabal2nix "ghcid" (hackGet ../dep/ghcid) { };

snap-core = self.callHackage "snap-core" "1.0.5.0" {};
snap-server = haskellLib.doJailbreak super.snap-server;
Expand Down Expand Up @@ -108,5 +107,6 @@ rec {
semialign-indexed = haskellLib.doJailbreak super.semialign-indexed;
cborg = haskellLib.dontCheck super.cborg;
github = self.callHackage "github" "0.28" {};
http2 = haskellLib.dontCheck super.http2;
http-streams = haskellLib.dontCheck super.http-streams;
}
12 changes: 7 additions & 5 deletions lib/command/src/Obelisk/Command/Project.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ import System.Directory
import System.Environment (lookupEnv)
import System.Exit (ExitCode(..))
import System.FilePath
import System.FSNotify (defaultConfig, eventPath, WatchConfig(..))
import qualified System.Info as SysInfo
import System.FSNotify (defaultConfig, eventPath, WatchConfig(..), WatchMode(..))
import qualified System.Info as Sys
import System.IO.Temp
import System.IO.Unsafe (unsafePerformIO)
import System.PosixCompat.Files
Expand Down Expand Up @@ -459,9 +459,11 @@ watchStaticFilesDerivation root = do
cfg = defaultConfig
-- On macOS, use the polling backend due to
-- https://github.com/luite/hfsevents/issues/13
{ confUsePolling = SysInfo.os == "darwin"
, confPollInterval = 250000
}
{ confWatchMode =
if Sys.os == "darwin"
then WatchModePoll 250000
else WatchModeOS
}
watch' pkg = fmap (:[]) <$> watchDirectoryTree cfg (root </> pkg <$ pb) (filterEvents . eventPath)
rebuild <- batchOccurrences 0.25 =<< mergeWith (<>) <$> mapM watch'
[ "frontend"
Expand Down

0 comments on commit 8654870

Please sign in to comment.