Describe The Bug
Hiya, firstly I'm not sure if this is a bug, I may just be doing something wrong, in which case I'd appreciate an explanation of how to do things correctly. I've done my best to read docs and search things up but I don't do web app dev so I don't really know what I'm doing other than following instructions.
Basically, I'm managing to get the startpage up at localhost:3000, but when I edit settings.json, the changes don't appear on the server, including when I restart the server with pm2 restart (also tried pm2 reload and pm2 delete followed by pm2 start again). I have also tried yarn dev and yarn start but those also seem to only use the config from before the server was started for the first time. I have also tried running yarn build again, to no avail.
I am able to type config edit in the startpage and paste my settings.json in there and it displays my settings as I would expect.
To Reproduce
Steps to reproduce the behavior:
- Clone
https://github.com/excalith/excalith-start-page.git (or the ssh, I cloned the ssh)
- Follow the fork instructions on the wiki:
- In the directory of the cloned repo,
rm -rf .github/workflows
- Install nodejs and yarn (for me,
sudo pacman -S nodejs yarn)
- In the directory of the repo, type
yarn to install all dependencies
- Change some things in
settings.json prior to starting the server. For me, I changed the theme to Catppuccin Mocha and set my username.
- Run
yarn dev and go to localhost:3000. See that the webpage currently reflects the state of settings.json.
- Ctrl C and then edit
settings.json some more. For me, I changed the bookmarks to be the websites I like to use.
- Run
yarn dev or yarn start or pm2 start "yarn start" (or pm2 start "yarn dev") and observe that the startpage appears as though settings.json was not changed since the first time you started the server
- To test, type
config edit into the startpage and paste in your settings.json. Save and press esc, observe that your settings have now changes and the startpage reflects your settings.
- However, note that this way of editing cannot update assets. I've put a wallpaper in the
assets folder and am trying to access it in my config, but this wallpaper won't display until I've fixed this.
Expected Behavior
I am able to view a startpage that reflects the state of my settings.json file, either dynamically or by restarting the server or rebuilding.
Specs
- OS: Arch Linux, no version because rolling release, I guess my kernel is
6.8.1-arch1-1 if that matters?
- Browser: Firefox 124.0
Describe The Bug
Hiya, firstly I'm not sure if this is a bug, I may just be doing something wrong, in which case I'd appreciate an explanation of how to do things correctly. I've done my best to read docs and search things up but I don't do web app dev so I don't really know what I'm doing other than following instructions.
Basically, I'm managing to get the startpage up at
localhost:3000, but when I editsettings.json, the changes don't appear on the server, including when I restart the server withpm2 restart(also triedpm2 reloadandpm2 deletefollowed bypm2 startagain). I have also triedyarn devandyarn startbut those also seem to only use the config from before the server was started for the first time. I have also tried runningyarn buildagain, to no avail.I am able to type
config editin the startpage and paste mysettings.jsonin there and it displays my settings as I would expect.To Reproduce
Steps to reproduce the behavior:
https://github.com/excalith/excalith-start-page.git(or the ssh, I cloned the ssh)rm -rf .github/workflowssudo pacman -S nodejs yarn)yarnto install all dependenciessettings.jsonprior to starting the server. For me, I changed the theme toCatppuccin Mochaand set my username.yarn devand go tolocalhost:3000. See that the webpage currently reflects the state ofsettings.json.settings.jsonsome more. For me, I changed the bookmarks to be the websites I like to use.yarn devoryarn startorpm2 start "yarn start"(orpm2 start "yarn dev") and observe that the startpage appears as thoughsettings.jsonwas not changed since the first time you started the serverconfig editinto the startpage and paste in yoursettings.json. Save and pressesc, observe that your settings have now changes and the startpage reflects your settings.assetsfolder and am trying to access it in my config, but this wallpaper won't display until I've fixed this.Expected Behavior
I am able to view a startpage that reflects the state of my
settings.jsonfile, either dynamically or by restarting the server or rebuilding.Specs
6.8.1-arch1-1if that matters?