Month: July 2019

Jetty’s start.jar forks a new JVM to run the app if logback module is enabled

Jetty is too smart. If there is any JVM option provided, Jetty will spawn a new JVM instance to do the real work, even if you don’t use “–exec” option in start.ini And jetty’s logback module introduces a JVM option. See here You will see: -Dorg.eclipse.jetty.util.log.class?=org.eclipse.jetty.util.log.Slf4jLog So does it matter? It matters a lot because …

Jetty’s start.jar forks a new JVM to run the app if logback module is enabled Read More »

Miscellaneous tips while developing in WSL (Windows Subsystem for Linux)

File change monitoring doesn’t work, such as the auto-refresh of create-react-app Use the following before your "npm start" or put it on env file: CHOKIDAR_USEPOLLING=true And if you are using Intellij, you need to explicitly "ctrl + s" to save the changes on your code files Integrate beyond compare with git diff export TMPDIR=’/mnt/c/Users/yourName/AppData/Local/Temp’ alias …

Miscellaneous tips while developing in WSL (Windows Subsystem for Linux) Read More »