Open souldzin opened 7 years ago
This makes it seem like I might be looking for something out of webpack's scope....
So I'm thinking about ditching Webpack and using gulp and rollup.js. I'll make a PR here today that shows how I'm thinking we can setup the project.
EDIT: No reason to switch to to rollup, might as well stick with webpack.
I don't see any issue with using gulp for our tasks (even starting webpack(!)). That's what it's used for. I think that webpack is a really easy and descriptive bundling system and we can take advantage of some of its build optimizations. Until we need a custom task that would be better achieved with gulp, I think that we should use the package.json scripts for tasks.
So I created a few cards in the project board to capture the requirements of this issue. When these have been resolved we can close this issue.
Perfect. I'll start looking into these soon.
Current Scenario:
Start dev server:
Change a source file (adding a "console.log")
Dev server will reload the webpage
Thoughts:
Is there a way to keep the dev server from live reloading the webpage on file save? It's kind've problematic for me since I habitually save files often. Is there a way I can flag it off for my local environment?
Also, it might be cool to hook into the build server to run our test script.