entr kill java

master
Nova deViator 2016-01-05 16:49:39 +01:00
parent 319734808b
commit 84a86424e6
2 changed files with 4 additions and 2 deletions

View File

@ -73,8 +73,9 @@ export DISPLAY=":0.0"
Monitor files while developing to restart Processing sketch on save with `entr`. After running the sketch in one terminal with `processing-runsketch_IF3.sh`, in another terminal run something like Monitor files while developing to restart Processing sketch on save with `entr`. After running the sketch in one terminal with `processing-runsketch_IF3.sh`, in another terminal run something like
``` ```
ls PROJECTS/IF3Si/pde/IF3Si/*.pde | entr killall /home/random/src/processing-2.2.1/java/bin/java ls PROJECTS/IF3Si/pde/IF3Si/*.pde | entr killall java
``` ```
(this will kill other running instances of java, so beware)

View File

@ -10,7 +10,7 @@
*/ */
//
// undecorate window (remove window borders etc) - - - - - - - - - - - - - - - // undecorate window (remove window borders etc) - - - - - - - - - - - - - - -
public void init() { frame.removeNotify(); frame.setUndecorated(true); public void init() { frame.removeNotify(); frame.setUndecorated(true);
frame.addNotify(); super.init(); } frame.addNotify(); super.init(); }
@ -181,6 +181,7 @@ void setup() { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
void draw() { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void draw() { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -