From 84a86424e625aeb757f9632df9ff4f7810897e43 Mon Sep 17 00:00:00 2001 From: Nova deViator Date: Tue, 5 Jan 2016 16:49:39 +0100 Subject: [PATCH] entr kill java --- doc/README.md | 3 ++- pde/IF3Si/IF3Si.pde | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/README.md b/doc/README.md index 7c90413..6b9558c 100644 --- a/doc/README.md +++ b/doc/README.md @@ -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 ``` -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) diff --git a/pde/IF3Si/IF3Si.pde b/pde/IF3Si/IF3Si.pde index 9c86620..e70f752 100644 --- a/pde/IF3Si/IF3Si.pde +++ b/pde/IF3Si/IF3Si.pde @@ -10,7 +10,7 @@ */ - +// // undecorate window (remove window borders etc) - - - - - - - - - - - - - - - public void init() { frame.removeNotify(); frame.setUndecorated(true); frame.addNotify(); super.init(); } @@ -181,6 +181,7 @@ void setup() { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + ////////////////////////////////////////////////////////////////////////////// void draw() { // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -