fix for cross-platform build
adding file watch service
added file watch service and lookup in code_lib; seems on linux i just get 1 file watch event, when the dir was modified? stupidity or jdk8 bug?