I am quite new to play and scala and I am facing a small problem. I setup docker based VM with scala (and everything else). My code is sared through the volume. When I run
sbt ~run
the first time, everything getting compiled and working. However, when I make any code changes, the log shows that the code is getting recompiled, but I don't see any changes in the app I am working on. If I restart the 'sbt' completely, the changes getting through.
What could be a reason for this? I made sure that I am running only one instance of 'sbt':
# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.3 48828 6900 ? Ss 17:16 0:01 /usr/bin/python /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
root 8 0.0 0.1 19752 2792 ? Ss 17:18 0:00 bash
root 23 0.0 0.1 47588 2648 ? S 17:21 0:00 sudo su
root 24 0.0 0.1 48204 2288 ? S 17:21 0:00 su
root 25 0.0 0.1 19748 3196 ? S 17:21 0:00 bash
root 9231 0.0 0.1 11384 3236 ? S+ 19:26 0:00 bash /usr/bin/sbt ~run
root 9286 36.2 31.6 3009020 649292 ? Sl+ 19:26 4:48 java -Xms1024m -Xmx1024m -XX:ReservedCodeCacheSize=128m -XX:MaxMetaspaceSize=256m -jar /usr/share/sbt-launcher-packaging/bin/sbt-launch.jar ~run
root 9351 0.0 0.1 19752 3616 ? Ss 19:26 0:00 bash
root 11101 0.0 0.1 17172 2492 ? R+ 19:39 0:00 ps aux
I can't think about anything else
Thanks,