Skip to content

How to develop plugins efficiently? #6108

Answered by saqimtiaz
EvidentlyCube asked this question in Q&A
Discussion options

You must be logged in to vote

I use the node.js server for all development work and combined with nodemon, I only need a browser refresh after making changes to the code.

tiddlywiki mywiki --init server
npm install nodemon --save-dev

Then use a npm run script to start the server with nodemon, see for example:
https://github.com/saqimtiaz/tw5-file-uploads/blob/c37ae9f580b2e052135b8876e3ae62002a18b4d5/package.json#L14

I assume this isn't set up in the official repo to avoid the nodemon dev dependency.

I also wrote starter scripts to create a skeleton directory for a new plugin, and also for adding a skeleton for a new widget or filter or startup module.

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@EvidentlyCube
Comment options

@Jermolene
Comment options

Answer selected by EvidentlyCube
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@EvidentlyCube
Comment options

Comment options

You must be logged in to vote
1 reply
@EvidentlyCube
Comment options

Comment options

You must be logged in to vote
2 replies
@EvidentlyCube
Comment options

@kookma
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants