Replies: 3 comments 7 replies
-
You could give https://github.com/storytouch/ep_webpack a try as it does auto-updates afaik. Ensure maxAge in settings.json is 0. Regarding node_modules: iirc use |
Beta Was this translation helpful? Give feedback.
-
For Server side changes a restart is required afaik, for client(html/css/js) it is not assuming minify is false and maxAge is 0 |
Beta Was this translation helpful? Give feedback.
-
Here's what I do: ETHERPAD_DIR=/path/to/etherpad-lite
PLUGIN_DIR=/path/to/ep_foo
(cd "$PLUGIN_DIR" && npm i)
ln -s "$ETHERPAD_DIR/src" "$PLUGIN_DIR/node_modules/ep_etherpad-lite"
ln -s "$PLUGIN_DIR" "$ETHERPAD_DIR/node_modules"
(cd "$ETHERPAD_DIR/src" && npm i)
"$ETHERPAD_DIR/src/bin/fastRun.sh" |
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm just getting started with the whole plugin topic and I'm wondering what the most effective way is to run my plugin for testing. So two questions arose for me:
node_modules
before running etherpad, but that seems rather inefficient. My first idea was to create a link (or symlink) from my project into the etherpad'snode_modules
folder, but neither of those are actually regarded (maybe because some kind of merging withsrc/node_modules
takes place? n/c As I said, copying works).Thanks it advance!
Beta Was this translation helpful? Give feedback.
All reactions