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

--webpack-use-polling Does not work with serverless offline start #1378

Open
timlopezarcurve opened this issue Feb 8, 2023 · 0 comments
Open

Comments

@timlopezarcurve
Copy link

timlopezarcurve commented Feb 8, 2023

This is a Bug Report

Description

For bug reports:

  • What went wrong?
    The documentation states that the --webpack-use-polling flag works with serverless offline, however it does not.
  • What did you expect should have happened?
    I expected it to respect the polling mode for watch
  • What was the config you used?
webpack:
    packager: "yarn"
    webpackConfig: ./webpack.config.js
    includeModules: true
    keepOutputDirectory: true
    packagerOptions:
      noFrozenLockfile: true

serverless offline --host api --noPrependStageInUrl --reloadHandler -t --webpack-use-polling

  • What stacktrace or error message from your provider did you see?
    [0] Environment: linux, node 19.3.0, framework 3.26.0 (local), plugin 6.2.2, SDK 4.3.2
    [0] Docs: docs.serverless.com
    [0] Support: forum.serverless.com
    [0] Bugs: github.com/serverless/serverless/issues
    [0]
    [0] Error:
    [0] Detected unrecognized CLI options: "--webpack-use-polling".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant