Giter Club home page Giter Club logo

Comments (7)

tocttou avatar tocttou commented on May 12, 2024 1

There is webpack already included in the project. Extend it instead.

https://github.com/Cloud-CV/IDE/blob/master/webpack.config.js

from fabrik.

tocttou avatar tocttou commented on May 12, 2024 1

As you can see, it already transpiles [1] and bundles JS and other assets also [2]:

1: https://github.com/Cloud-CV/IDE/blob/master/webpack.config.js#L10
2: https://github.com/Cloud-CV/IDE/blob/master/webpack.config.js#L7

To restart the server on file change, you may use: https://webpack.github.io/docs/webpack-dev-server.html

from fabrik.

muddlebee avatar muddlebee commented on May 12, 2024 1

@virajprabhu @tocttou thanks. It is working now :)

from fabrik.

muddlebee avatar muddlebee commented on May 12, 2024

thanks @tocttou

from fabrik.

muddlebee avatar muddlebee commented on May 12, 2024

@tocttou noob question. changes in the files related to frontend are not reflected back. tried running webpack --watch.? Extending this webpack config might help ?

from fabrik.

tocttou avatar tocttou commented on May 12, 2024

I am not sure why webpack --watch does not work for you. It should create new files. Make sure you are refreshing by doing Ctrl + F5 instead of F5 to force the browser to fetch actual files instead of the cached ones.

from fabrik.

virajprabhu avatar virajprabhu commented on May 12, 2024

@anweshknayak Is this fixed? Like @tocttou said, running webpack with watch + refresh ignoring cache should work fine. Meanwhile I'll add watch to the webpack config.

from fabrik.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.