LoginSignup
0
0

More than 5 years have passed since last update.

sbtで一部のファイルをrunの監視対象から除外する

Posted at

build.sbtの中で watchSources という変数をいじってあげればよさそう

build.sbt
watchSources ~= {
   _.filterNot(x => x.getCanonicalPath.contains("asset/public"))
}

確認

$ sbt
> show watchSources
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0