Comments (7)
probably requires using the native JDK WatchService when not on OSX. It has the same api, so should be an easy port
from cbt.
Switched from OpenJDK to Oracle JDK. Works fine now.
from cbt.
Scratch that..compiling source is fine. Still happens when build has errors because it just restarts CBT.
from cbt.
can you explain more. Does it loop or not? The library BarbaryWatchService cbt is using is advertised for OSX. I have no idea if it works on other systems, but we can use the JDK buildin one instead then. Somebody would just need to implement that switch.
from cbt.
If there is an error in the "build" file it restarts CBT and tries to recompile every time. If there is an error in the source file the watcher acts as expected.
from cbt.
@ChavXO so just to be clear: Detecting fine changes and reacting to it works on linux? Could you check on windows as well (ideally with and without cygwin)? We should setup CI for that.
And if there is a compile error in CBT itself it keeps looping. This is a known issue, that needs fixing. to do with status codes.
from cbt.
I hear this is not an issue any longer
from cbt.
Related Issues (20)
- remove support for top-level source files
- Does CBT support cross building against multiple scala-js/scala-native versions? HOT 2
- speed up jar generation HOT 2
- please document defaultScalaVersion
- Handle dependency import scope HOT 3
- Compile error when trying to use cbt on Windows HOT 2
- Java 9 support HOT 1
- cbt eval throws NPE when defaultScalaVersion is overridden HOT 1
- Scalafix's scalahost dependency should depend on scala version
- improve intellij plugin getting started & docs HOT 8
- scalariform-example fails on Windows 10
- java.lang.NoClassDefFoundError: scala/Option in 'resources-example'
- NPE when compiling simple-fixed (classloader)
- hk2-locator transitive dependency crashes cbt's resolver
- Incorrect finding of $CBT_HOME when cbt symlink is relative HOT 1
- Existence of mains in a class with a parameterful constructor leads to cbt fail HOT 1
- When I type wrong subcommand, both exception stack trace and nice answer is shown
- org.scalajs.core.ir.IRVersionNotSupportedException error for scala.js HOT 1
- NumberFormatException when running cbt in direct mode HOT 1
- Fails to find nailgun jar when it's placed in /usr/share/nailgun/lib/nailgun.jar
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 cbt.