commercialhaskell/stack

foreign-library source files are not tracked in file-watch

開放

#3,915 建立於 2018年3月12日

 (5 則留言) (3 個反應) (0 位負責人)Haskell (848 個分叉)batch import
help wantedneed confirmation

倉庫指標

星標
 (4,060 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

General summary

If cabal file contains foreign-library section, its source files are not tracked with stack build --file-watch. Stack doesn't trigger rebuild when files change.

Steps to reproduce

foreign-library example
  build-depends:
      base
  hs-source-dirs: foreign
  other-modules: Example
  type: native-shared

stack build --file-watch

Expected

Rebuild when foreign/Example.hs is changed.

Actual

Nothing.

Stack version

$ stack --version
Version 1.6.5 x86_64 hpack-0.20.0

Method of installation

brew

貢獻者指南