Closed RameezIbrahimOfficial closed 2 days ago
@RameezIbrahimOfficial I can just see the changes in the Readme file, don't you also need to add code changes too?
@devdcodes9 Firstly i have created a PR without changing the Readme then i closed the PR and updated the Readme And then sent PR again
Modifled files:- webpack.config.js ( Added watchOptions ) package.json ( Added Watch Commands )
Rest of the things i mentioned in PR Description
@RameezIbrahimOfficial there is no package.json in the file diff of this PR. Please check again
Ok I will sent PR again its bacause of the Merge issue in Forked Repo Sorry for the inconviniece
Description
This PR adds a watch script to the
package.json
to automate the rebuild process upon file changes, which will improve development workflow. Thewebpack.config.js
file was also updated to configure thewatchOptions
, optimizing performance and ensuring that file changes trigger automatic rebuilds without including unnecessary files. This change eliminates the need for manual rebuilds during development. Also Documentation is updated to include usage instructions for the new watch commandyarn watch
command is availableRelevant Motivation & Context
Developers previously needed to manually rebuild the project after every change, which slowed down the development process. Adding a watch script and configuring
watchOptions
will improve efficiency by automatically rebuilding on changes.Dependencies Required
No additional dependencies are required for this change.
Fixes
Fixes #11
Type of change
How Has This Been Tested?
This change has been tested by:
yarn watch
and observing automatic rebuilds upon file changes.dist
folder is updated correctly after changes.yarn start
to confirm that the Webpack Dev Server serves the updated project with hot-reloading.Steps to Reproduce:
yarn watch
and make changes to any JavaScript, JSX, SCSS, or TypeScript file.dist
folder for updated build files.Checklist:
Screenshots
N/A for this change