Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Scripting stuff is not reloaded after a syntax error #19292

Open
calixteman opened this issue Jan 5, 2025 · 0 comments
Open

[Bug]: Scripting stuff is not reloaded after a syntax error #19292

calixteman opened this issue Jan 5, 2025 · 0 comments
Labels

Comments

@calixteman
Copy link
Contributor

Attach (recommended) or Link to PDF file

https://github.com/mozilla/pdf.js/blob/master/test/pdfs/evaljs.pdf

Web browser and its version

Firefox nightly

Operating system and its version

Windows 11

PDF.js version

last one

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. run npx gulp server
  2. make a syntax error in aform.js and save it
  3. reload the page
  4. fix the error and save
  5. reload the page

What is the expected behavior?

Any subsequent changes in aform.js should be taken into account.

What went wrong?

The built script stuff isn't reloaded.
So even if the error has been fixed the script stuff we've is still the version before the error.

Link to a viewer

No response

Additional context

The only way to workaround this issue is to restart the local server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants