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

Fix #2088: unbreak automatic reinstall of linked dependencies on change #2091

Commits on Jan 13, 2021

  1. Fix FredKSchott#2088: unbreak automatic reinstall of linked dependenc…

    …ies on change
    
    * snowpack/src/commands/dev.ts (installDependencies): import it.
    (onDepWatchEvent): Call it.
    
    * snowpack/src/sources/local-install.ts (InstallRunResult): export it.
    
    * snowpack/src/sources/local.ts (InstallRunResult): import it.
    (installDependencies): export it and give it a type.
    joaotavora committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    0024b55 View commit details
    Browse the repository at this point in the history
  2. Consider config.exclude when FS-watching linked deps

    Otherwise it's really easy to blow up the FS watcher limit.
    
    * snowpack/src/commands/dev.ts: (startServer::depWatcher): Also
    ignore stuff in config.exclude.
    joaotavora committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    a0f4b17 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. Clear stale ETags cache when reinstalling linked deps

    This is done rather brutally by clearing all the cache, but could
    probably be done more criteriously.
    
    * snowpack/src/commands/dev.ts (startServer::handleRequest): Improve
    debug log message.
    (startServer::handleRequest): Clear knownETags.
    joaotavora committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    699a00e View commit details
    Browse the repository at this point in the history