If you follow this method DO NOT create tiddlers for testing in the standalone (made using ./bld.sh) version of your test tiddlywiki. This file is rebuilt each time the command is run. Use the ./edit.sh for adding test tiddlers.
On Tuesday, February 23, 2016 at 2:31:57 PM UTC, BJ wrote: > > Hi Snow, > I wrote those instructions on tiddlywiki.com/dev for developing plugins. > If you have followed those instruction and created a github repository then > you are nearly follow my work flow. The way I work is to edit my source > files and then rebuld my tiddlywiki using nodejs. This is the most > efficient way to work. I use a couple of batch files to automate the > process. > > I have a 'template' project that I use to create other projects with. You > can clone it and give it a try. These are the instructions > > open a bash shell and go to the root of you copy of the tiddlywiki > repository (that is on your computer) > > then type: > > cd plugins > mkdir bj > cd bj > git clone https://github.com/buggyj/TW5-nulleditor > cd TW5-nulleditor/build/ > ./bld.sh > > the result is a new 'test' tiddlywiki html file located in > build/browser/output that contains the plugin > > I have another batch file edit.sh that I use to create permanent tiddlers > for testing > > all the best > BJ > > On Monday, February 22, 2016 at 8:06:08 PM UTC, Alain Dutech wrote: >> >> Hi everyone, >> >> this must be a very naive question, but I feel like my JS plugins >> development workflow is far from optimal and I would like some advice. >> >> So, how do I develop (on my Linux) >> >> 1) I have a twsomething.html with my javascript tiddler (say myplug.js) >> in it. >> 2) myplug.js is also a file in my directory. >> 3) I edit myplug.js, say with emacs. When I feel it is "ready", I copy in >> (manually) in my tiddler. >> 4) I reload my twsometing.html file in my browser >> 4.1) if no error, I do small adkustment directly in the tiddler. When >> fine, I copy back to my myplug.js file. >> 4.2) if error => big red popup window in browser, I do my best to correct >> it directly in the browser, but most often the big red window is too large >> and cannot bi clicked away. So it is a bit painfull... >> 5) go back to 3) >> 6) eventually, pack my plugin as explained in >> http://tiddlywiki.com/dev/#Developing%20plugins%20using%20Node.js%20and%20GitHub >> >> So I'm pretty sure there is a better way, but as I am not experienced at >> all with javascript/tw5, I can not find a better way of doing things. >> >> How are you doing things ? >> >> Thanks, >> Snow/Alain >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/af479d5c-880e-45ca-99cb-d04e0039a785%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
