slinkity / slinkity

To eleventy and beyond! The all-in-one tool for templates where you want them, component frameworks where you need them 🚀

Home Page:https://slinkity.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI `--port` option not using proper port

seancdavis opened this issue · comments

Describe the bug

I have a script in package.json to start the dev server:

slinkity --serve --incremental --port 8000

This still boots the server on port 8080.

To Reproduce

Steps to reproduce the behavior:

  1. Add script to package.json
"dev": "slinkity --serve --incremental --port 8000",
  1. Run npm run dev
  2. Project still runs on 8080.

Expected behavior

Using the example above, server should be running on port 8000.

Screenshots

If applicable, add screenshots to help explain your problem.

Screen Shot 2022-01-24 at 5 15 06 PM

Screen Shot 2022-01-24 at 5 15 24 PM

(please complete the following information):

  • OS: Mac 11.6
  • Browser: n/a