Can't see a folder

Hello,
I’m using webpack for my project and my config looks like this:

const path = require("path")

module.exports = {
  mode: "none",
  entry: {
    script: path.join(__dirname, "/script/main.js")
  },
  output: {
    path: path.join(__dirname, "dist"),
    filename: "[name].bundle.js"
  }
}

As you see the output is in the ‘dist’ folder. I checked with console if it had created the file, and yes it did, but the editor wasn’t showing it. Why and how can I open it with the editor?

Hey @demostanis, files and directories that are created by backend code (as opposed to created in the Editor) aren’t automatically synced with the Editor. You have to run the refresh command in your project’s console to get them to show up.

Hope this helps!

2 Likes