[chore] Add dev script for easier development loop (#16)
This PR adds a npm "dev" script. Upon executing `npm run dev`, the project will be served (default port 3035) in "watch" mode, every local change of the files will refresh the page. This change should enable faster development loop. Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/16 Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com> Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com>
This commit is contained in:
committed by
tobi
parent
84718945c6
commit
0f77cb593c
@@ -36,7 +36,7 @@ module.exports = merge(sharedConfig, {
|
||||
port: settings.dev_server.port,
|
||||
https: settings.dev_server.https,
|
||||
hot: settings.dev_server.hmr,
|
||||
contentBase: output.path,
|
||||
contentBase: settings.public_root_path,
|
||||
inline: settings.dev_server.inline,
|
||||
useLocalIp: settings.dev_server.use_local_ip,
|
||||
public: settings.dev_server.public,
|
||||
|
||||
Reference in New Issue
Block a user