live-server
live-server copied to clipboard
Live reload not working with .. (parent directory) used as path
Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting
Issue description
Live reload not working with: live-reload .. Workaround is: live-reload ../../dist
Software details
- Command line used for launching
live-server
: live-server .. - OS: Arch Linux
- Browser (if browser related): Chromium 72
- Node.js version: 11.10
-
live-server
version: 1.2.1
I was also bit by this, and I found another workaround:
live-server `node -e 'console.log(require("path").resolve(".."))'`