question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to serve files via symbolic links

See original GitHub issue

I’ve a simple website that load JS scripts, and during development of some of those scripts (libraries held elsewhere) I want to use a symbolic link from the website folder to the library ‘dist’ file.

When I do this, ws gives a 404 error rather than following the symbolic link and loading the script (e.g. when referenced using <script> in index.html).

Is there a way to do this?

I’m on Ubuntu Linux, using ws --version 2.5.6

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
75lbcommented, Apr 10, 2019

no probs, these things happen… let me know if you find anything else!

0reactions
happybeingcommented, Apr 10, 2019

Yes. Oh dear, BIG apology for this. I couldn’t see the discrepancy. Thanks very much for your patience and sharp eyes.

Now works, including with symlinks, because I had the wrong filename. Nothing to do with ws.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command Line Basics: Symbolic Links
Learn how to create symbolic links between files and directories from the command-line using the ln command.
Read more >
Using Symlinks In Your File System (Explained)
All you have to do is access your server via SSH. The only caveat here is that you create links to files you...
Read more >
How to Create Linux Symlinks (Symbolic Links)
Create Symbolic Link in Linux for Files ... Generally, to create links use we use the ln command and the -s option to...
Read more >
Symbolic Link Handling
When transferring files using FASP (the Aspera GUI, ascp, ascp4, or async), you can configure how the server and client handle symbolic links....
Read more >
Symbolic Link: What it is and How to Use It with Web Hosting
A symbolic link creates a file in your directory and acts as a shortcut to a file or folder. For example: I have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found