2017-07-04 7:26 GMT+02:00 sergio ruiz <sergio....@gmail.com>: > Hi, all.. > > I have started looking at the zeroconf scripts, and i think i have most of > this figured out.. > > I just have a few questions, to make sure I am doing this correctly. > > In order to run the current image headless, should I just do something > like: > > ./pharo Pharo.image —no-quit & > > I can load up my project, but how can i get the latest updates to the > project? > > ./pharo Pharo.image update seems like it just updates the VM.. > > If i run something like this: > > ./pharo Pharo.image eval --save --no-quit "|server| server := > PrintBotServer serveOn: 8080." > a PrintBotServer >
I think that the --save is executed only on image quit so in this case it is never executed. In the end, you can simply in your script do: Smalltalk snapshot: true andQuit: false. -- Pavel > > I would expect that it would save my image.. but when i hit ^c, and > restart it like so: > > ./pharo Pharo.image > > the printbot doesn’t exist anymore. > > any idea how to get this to work correctly? > > Thanks! > > ---- > peace, > sergio > photographer, journalist, visionary > > Public Key: http://bit.ly/29z9fG0 > #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV > http://www.Village-Buzz.com <http://www.village-buzz.com/> > http://www.ThoseOptimizeGuys.com <http://www.thoseoptimizeguys.com/> > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 >