GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
thanks for the great script.
I made some changes that might come in handy. I always had to wait to until the compile was done and wanted to have some kind of notification for that.
Additionally I wanted to place the clojure macro code where I want, so I changed the classpath setting to CLASSPATH since "java -cp" disables the CLASSPATH variable which makes it a log more inflexible.
Unfortunately I had a little problem with the inline version of the watch script. As you might see the cli argument parse code had to be inlined too. It works but is not so nice.
It could also be solved by setting an environment variable but I guess your goal was to have the most easy installation for it.
I would be glad if we could talk about the solution and maybe do some improvements.
Added the ability to specify a custom classpath for cljs compilation …
…using a -cp parameter.
Used CLASSPATH evn variable to set the path instead of -cp. Added com…
…mand line parsing library to cljs-watch. Added bell feature. Added custom bell command feature.
Corrected setting the classpath.
Handled some whitespace quoting problems for the bell command. Extend…
…ed readme file.
Removed default optimization in order to allow non optimized compilat…
I had the same problem as ghoseb and wanted to remove the default optimization. I have a different solution here by simply removing the default settings for the optimization.
Maybe you want to include one of the solutions. I also added the changes.